Use-after-free in LibreDWG - #VU170838

 

Use-after-free in LibreDWG - #VU170838

Published: November 29, 2026


Vulnerability identifier: #VU170838
CSH Severity: Low
CVSS v4: 5.7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/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 local user to cause a denial of service by crashing a process that uses LibreDWG.

The vulnerability exists due to a heap use-after-free in dwg_add_MLINESTYLE() when dictionary creation relocates the object pool and the function continues to use a stale pointer. A local user can invoke the local authoring API under conditions that invalidate the pointer to cause a denial of service.


Affected software

LibreDWG

Remediation

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins