Double free in LibreDWG - #VU170872

 

Double free in LibreDWG - #VU170872

Published: November 29, 2026


Vulnerability identifier: #VU170872
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 crash the importing application and potentially corrupt its heap, depending on the allocator.

The vulnerability exists due to a double free in add_ent_preview() when the DXF importer retains a stale pointer after releasing an entity preview buffer while processing empty preview data. A remote attacker can trick a user into opening a crafted DXF file to trigger a second free during subsequent preview processing or drawing cleanup.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins