Heap corruption via shrunken decompression buffer
Published Jul 13, 2026 · Updated Jul 13, 2026
Heap-based buffer overflow in GNU Project LibreDWG 0.13.4-154-g0b573035 allows local users to corrupt memory via a malformed R2004 DWG file. read_2004_compressed_section overwrites dec.size with a smaller per-section value, letting bit_chain_alloc shrink dec.chain while decompression retains offsets based on the larger logical stream. A local user must cause a LibreDWG reader or converter to process the crafted file; the resulting out-of-bounds write crashes the process and corrupts adjacent heap data.
Summary
What happened
Heap-based buffer overflow in GNU Project LibreDWG 0.13.4-154-g0b573035 allows local users to corrupt memory via a malformed R2004 DWG file. read_2004_compressed_section overwrites dec.size with a smaller per-section value, letting bit_chain_alloc shrink dec.chain while decompression retains offsets based on the larger logical stream. A local user must cause a LibreDWG reader or converter to process the crafted file; the resulting out-of-bounds write crashes the process and corrupts adjacent heap data.
The record
- CVE
- CVE-2026-15520
- Published
- Jul 13, 2026
- Updated
- Jul 13, 2026
- Vendor
- The GnuPG Project
- Product
- LibreDWG
- Classifications
- CWE-119, CWE-122, T1203
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 13, 2026CVE publishedPublication date reported by the CVE source.
- Jul 13, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.13.4-154-g0b573035
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Malformed R2004 DWG proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo