Use-after-free in LibreDWG - #VU170865

 

Use-after-free in LibreDWG - #VU170865

Published: November 29, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service and potentially disclose sensitive heap data.

The vulnerability exists due to a heap use-after-free in read_2004_compressed_section() in src/decode.c when the decoder dereferences a cached pointer after the section array has been reallocated and moved. A remote attacker can induce a user to open a crafted DWG file to crash the decoder and potentially expose sensitive heap data.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins