CVE-2026-9502: GNU LibreDWG Dwgread Utility decode.c decompress_R2004_section heap-based overflow
A vulnerability was identified in GNU LibreDWG up to 0.14. This affects the function decompress_R2004_section of the file src/decode.c of the component Dwgread Utility. The manipulation leads to heap-based buffer overflow. The attack must be carried out locally. The exploit is publicly available and might be used. The identifier of the patch is e501cb9926c1e9a07a0d1cc997f3e69e9be801c9. To fix this issue, it is recommended to deploy a patch.
CVE-2026-9502 is a heap buffer overflow in GNU LibreDWG’s dwgread utility. It is not described as remotely exploitable; the source says local access is required. Business urgency is moderate because affected versions are broad, a public exploit is referenced, and malformed DWG handling may affect CAD processing workflows.
Executive priority
Treat as a moderate-priority engineering remediation. Prioritize environments that process external DWG files or run LibreDWG in automated pipelines. There is no confirmed active exploitation in the supplied sources, but public exploit availability increases the need for timely patching.
Technical view
GNU LibreDWG versions 0.1 through 0.14 are affected in src/decode.c, function decompress_R2004_section. The issue is classified as CWE-119/CWE-122 heap-based buffer overflow with CVSS 3.1 score 5.3, vector AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L. Patch commit e501cb9926c1e9a07a0d1cc997f3e69e9be801c9 is identified.
Likely exposure
Exposure is likely where GNU LibreDWG 0.14 or earlier is installed, especially systems that run dwgread or process DWG files in CAD conversion, analysis, or automation workflows. The bundle does not identify downstream products or distributions.
Exploitation context
The source bundle says the attack must be carried out locally and that exploit material is publicly available and might be used. KEV is false, and no cited source confirms active exploitation in the wild.
Researcher notes
Evidence is specific to GNU LibreDWG and dwgread’s R2004 section decompression path. Do not assume remote reachability or affected third-party products from the bundle. Validation should focus on version, code provenance, and whether local users or workflows can feed DWG content to dwgread.
Mitigation direction
Apply the vendor patch identified as commit e501cb9926c1e9a07a0d1cc997f3e69e9be801c9.
Upgrade GNU LibreDWG beyond affected versions when a fixed release is available.
Review LibreDWG issue and vendor guidance for release-specific remediation instructions.
Limit untrusted DWG processing on systems that cannot be patched promptly.
Validation and detection
Inventory systems for GNU LibreDWG versions 0.1 through 0.14.
Check whether dwgread is installed or used in automated DWG workflows.
Verify the deployed code includes patch commit e501cb9926c1e9a07a0d1cc997f3e69e9be801c9.
Confirm remediation with the relevant package manager or source build metadata.
Based on public source material and reviewed before publication.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-119: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve
time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present,
the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-119 · source CWE mapping
Improper Restriction of Operations within the Bounds of a Memory Buffer
Improper Restriction of Operations within the Bounds of a Memory Buffer represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Heap-based Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.