Type Confusion in LibreDWG - #VU170852

 

Type Confusion in LibreDWG - #VU170852

Published: November 29, 2026


Vulnerability identifier: #VU170852
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-843
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to crash the importing process and potentially corrupt heap memory.

The vulnerability exists due to type confusion in the DXF importer when it converts an INSERT entity to MINSERT without migrating its fields, causing error cleanup to treat nonpointer data as a pointer and attempt to free it. A remote attacker can trick a victim into importing a specially crafted DXF file to crash the process and potentially corrupt heap memory.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins