NULL pointer dereference in LibreDWG - #VU170868

 

NULL pointer dereference in LibreDWG - #VU170868

Published: November 29, 2026


Vulnerability identifier: #VU170868
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by terminating a process that uses LibreDWG to parse DWG files.

The vulnerability exists due to a null pointer dereference in dwg_decode_TABLECONTENT_private when the decoder uses an unvalidated cell count to allocate a row's cell array and writes to the array without checking whether allocation succeeded. A remote attacker can induce a user to open a crafted DWG file to crash the parsing process through a null pointer write or an allocator abort.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins