Type Confusion in LibreDWG - #VU170862

 

Type Confusion in LibreDWG - #VU170862

Published: November 29, 2026


Vulnerability identifier: #VU170862
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 corrupt heap memory, potentially exposing or altering data or crashing the importing process.

The vulnerability exists due to type confusion in dwg_free_variable_type when cleanup trusts a class name that does not match the allocated object's type. A remote attacker can trick a victim into importing a crafted JSON drawing to trigger out-of-bounds reads in object or entity cleanup and an invalid free.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins