CVE-2026-9504 GNU LibreDWG Dwggrep Utility dwggrep.c bit_convert_TU out-of-bounds

Medium 4.8 Published Updated

A local attacker can trigger an out-of-bounds read in the Dwggrep utility via a crafted DWG file, potentially causing a crash or information disclosure.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-9504?

CVE-2026-9504 is a medium-severity memory corruption vulnerability in GNU LibreDWG, published on 25 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-125, CWE-119

Which versions are affected by CVE-2026-9504?

How do I fix CVE-2026-9504?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-9504 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-9504 exists.

Sources

Also known as GHSA-7fc3-9hrj-6779.

Is CVE-2026-9504 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free