Type Confusion in LibreDWG - #VU170853

 

Type Confusion in LibreDWG - #VU170853

Published: November 29, 2026


Vulnerability identifier: #VU170853
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 the process heap, potentially causing a crash or disrupting control flow.

The vulnerability exists due to type confusion in the LibreDWG JSON reader and object cleanup routines when an MTEXT entity is allocated as one type but freed as a proxy entity or proxy object. A remote attacker can trick a victim into opening a crafted JSON file to trigger an invalid free and corrupt the process heap.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins