Heap-based buffer overflow in LibreDWG - CVE-2026-63474

 

Heap-based buffer overflow in LibreDWG - CVE-2026-63474

Published: November 29, 2026


Vulnerability identifier: #VU170829
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: CVE-2026-63474
CWE-ID: CWE-122
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-based buffer overflow in decompress_R2004_section when decompressing R2004 DWG data because the bounds check uses a logical size that can exceed the actual buffer capacity after reallocation. A remote attacker can trick a victim into opening a crafted R2004 DWG file to crash the application.


Affected software

LibreDWG

How to mitigate CVE-2026-63474

Install security update from vendor's website.

LibreDWG - update to 0.15

External References

Related Security Bulletins