CVE-2026-9502 GNU LibreDWG Dwgread Utility decode.c decompress_R2004_section heap-based overflow
A heap-based buffer overflow in the Dwgread utility allows local attackers to execute arbitrary code or cause denial of service via crafted DWG files.
- 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-9502?
CVE-2026-9502 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 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.
Which versions are affected by CVE-2026-9502?
How do I fix CVE-2026-9502?
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-9502 being exploited?
There is no known exploitation of CVE-2026-9502 in the wild and no public exploit code.
Sources
Also known as GHSA-mxm7-v873-f6m3.