Heap-based buffer overflow in LibreDWG - #VU170825

 

Heap-based buffer overflow in LibreDWG - #VU170825

Published: November 29, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to crash the LibreDWG process and potentially hijack its control flow.

The vulnerability exists due to a heap-based buffer overflow in the LibreDWG JSON reader's json_eed function when a buffer resize uses an outdated record size and leaves too little space for a string copy. A remote attacker can supply a crafted JSON document for parsing to overwrite adjacent heap memory with attacker-controlled data.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins