Heap-based buffer overflow in LibreDWG - #VU170826

 

Heap-based buffer overflow in LibreDWG - #VU170826

Published: November 29, 2026


Vulnerability identifier: #VU170826
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/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 corrupt heap memory and potentially crash the importing process.

The vulnerability exists due to a heap-based buffer overflow in add_LTYPE_dashes when importing legacy DXF linetypes, because the bounds check uses the original text length rather than the length after conversion. A remote attacker can induce a user to import a crafted DXF file whose linetype text expands during codepage conversion or escape normalization to corrupt heap memory and potentially crash the importing process.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins