CVE-2026-9504: GNU LibreDWG Dwggrep Utility dwggrep.c bit_convert_TU out-of-bounds
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.
CVE-2026-9504 is a local out-of-bounds read in GNU LibreDWG's dwggrep utility. A user with local access could trigger it through the affected parsing path. The public sources say exploit material is available, but they do not show confirmed active exploitation.
Executive priority
Treat this as a targeted medium-priority remediation. It is not described as remotely exploitable, but public exploit availability and untrusted file processing make patching important for CAD and file-analysis environments.
Technical view
The issue affects bit_convert_TU in programs/dwggrep.c for GNU LibreDWG versions 0.1 through 0.14. It is classified as CWE-119 and CWE-125, with CVSS 4.0 score 4.8. Attack vector is local, requires low privileges, and has limited confidentiality impact. Patch commit be996bf2178a40e98720f18c2414815d244413db is cited.
Likely exposure
Exposure is most likely on engineering, CAD, conversion, forensic, or automation systems that install LibreDWG and run dwggrep against DWG files. Internet-facing exposure is not indicated by the provided sources because exploitation is local.
Exploitation context
The source bundle states public exploit material exists and could be used. It does not cite CISA KEV listing or confirmed in-the-wild exploitation. Practical risk depends on whether local users or automated jobs process untrusted DWG files with dwggrep.
Researcher notes
The bundle supports a local out-of-bounds read in dwggrep.c bit_convert_TU and a cited patch commit. It does not provide proof of active exploitation, a named fixed release, or broader product impact beyond GNU LibreDWG through 0.14.
Mitigation direction
Apply patch commit be996bf2178a40e98720f18c2414815d244413db or a vendor release containing it.
Inventory LibreDWG installations and prioritize systems that process untrusted DWG files.
Restrict local access to systems where dwggrep processes user-supplied files.
Isolate DWG processing workloads until patched.
Monitor LibreDWG project guidance for fixed release details.
Validation and detection
Confirm installed LibreDWG versions are newer than 0.14 or include the cited patch.
Check whether dwggrep is installed or invoked by automation pipelines.
Review DWG ingestion paths for untrusted local or uploaded files.
Verify package or source builds include commit be996bf2178a40e98720f18c2414815d244413db.
Track vendor issue 1246 for any additional remediation notes.
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.
Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.