Stack-based buffer overflow in LibreDWG - CVE-2026-67451

 

Stack-based buffer overflow in LibreDWG - CVE-2026-67451

Published: November 29, 2026


Vulnerability identifier: #VU170830
CSH Severity: Medium
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-67451
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to crash a LibreDWG conversion process and potentially disclose sensitive process memory through the JSON output.

The vulnerability exists due to a stack buffer over-read in json_section_2ndheader when the JSON writer treats a negative handle count as an unsigned length without checking the buffer bounds. A remote attacker can induce a victim to convert a crafted DWG file to JSON to crash the converter and potentially expose process memory if the attacker can access the output.


Affected software

LibreDWG

How to mitigate CVE-2026-67451

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins