Out-of-bounds read in LibreDWG - #VU170866

 

Out-of-bounds read in LibreDWG - #VU170866

Published: November 29, 2026


Vulnerability identifier: #VU170866
CSH Severity: Low
CVSS v4: 2.4 [CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an attacker with physical access to system to disclose heap memory in the generated DWG file or cause a denial of service by crashing the converter.

The vulnerability exists due to a heap out-of-bounds read in LibreDWG's VBA_PROJECT encoder when bit_write_TF copies data using a declared length that exceeds the source buffer. An attacker with physical access to system can supply a malformed DXF file for a user to convert to DWG to disclose heap memory or crash the converter.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins