Double free in LibreDWG - #VU170857

 

Double free in LibreDWG - #VU170857

Published: November 29, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to corrupt the heap, crash the importing process, and potentially execute arbitrary code.

The vulnerability exists due to a double free in new_object() when DXF import error cleanup frees the record name a second time and releases a model-space object that is still referenced. A remote attacker can trick a victim into importing a crafted DXF file to trigger heap corruption.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins