Use-after-free in LibreDWG - #VU170860

 

Use-after-free in LibreDWG - #VU170860

Published: November 29, 2026


Vulnerability identifier: #VU170860
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 an application that uses LibreDWG.

The vulnerability exists due to a heap use-after-free in LibreDWG's polyline creation API when adding polyline elements moves the object array and leaves cached pointers referring to freed memory. A remote attacker can supply a DWG file that a victim converts to pre-R13 DXF or binary DXF, or supply input that a victim's application uses to create polylines through the affected API, to crash the application.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins