Double free in LibreDWG - #VU170863

 

Double free in LibreDWG - #VU170863

Published: November 29, 2026


Vulnerability identifier: #VU170863
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/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 cause a denial of service by crashing an application that uses LibreDWG.

The vulnerability exists due to improper memory cleanup in the dwg_read_json error path when a parse failure leaves stale pointers that the caller's subsequent cleanup can dereference and free again. A remote attacker can trick a user into opening a malformed JSON file with an affected application to cause a denial of service.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins