Use-after-free in LibreDWG - #VU170851

 

Use-after-free in LibreDWG - #VU170851

Published: November 29, 2026


Vulnerability identifier: #VU170851
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/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 by crashing the affected process.

The vulnerability exists due to a heap use-after-free in LibreDWG's object-reference handling when the object array moves during decoding and dwg_ref_object later dereferences a stale cached pointer. A remote attacker can persuade a victim to open a crafted drawing file to crash the affected process.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins