Buffer overflow in GNU Libredwg
CVE-2026-9504
A weakness has been identified in GNU LibreDWG up to 0.14. Affected is the function bit_convert_TU of the file programs/dwggrep.c of the component Dwggrep Utility. This manipulation causes out-of-bounds read. The attack needs to be launched locally. The exploit has been made available to the public and could be used for attacks. Patch name: be996bf2178a40e98720f18c2414815d244413db. Applying a patch is the recommended action to fix this issue.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.002, 7.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Libredwg — versions 0.1, 0.2, 0.3
Weakness classification (CWE)
References
- VDB-365486 | GNU LibreDWG Dwggrep Utility dwggrep.c bit_convert_TU out-of-bounds (technical-description, vdb-entry)
- VDB-365486 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- Submit #814261 | LibreDWG Project LibreDWG <= 0.14, main branch up to commit 6d6a339 (2026-04-10) Out-of-bounds Read (CWE-125) (third-party-advisory)
- github.com/LibreDWG/libredwg/issues/1246 (issue-tracking)
- github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_6d6a339_heap_overflo… (exploit)
- github.com/LibreDWG/libredwg/commit/be996bf2178a40e98720f18c2414815d244413db (patch)
- www.gnu.org/ (product)