Out-of-bounds read in LibreDWG - #VU170847

 

Out-of-bounds read in LibreDWG - #VU170847

Published: November 29, 2026


Vulnerability identifier: #VU170847
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: N/A
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to crash an application using LibreDWG and potentially disclose heap data.

The vulnerability exists due to an out-of-bounds read in read_2004_compressed_section() when narrowing a section address from 64 to 32 bits allows arithmetic in the bounds check to wrap around. A remote attacker can trick a victim into opening a crafted R2004 DWG file to trigger the crash or potentially expose heap data.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins