Heap-based buffer overflow in LibreDWG - #VU170826
Published: November 29, 2026
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.