CVE-2026-15520 GNU LibreDWG R2004 Section Decompression decode.c decompress_R2004_section heap-based overflow

Medium 4.8 Published Updated

A heap-based buffer overflow in GNU LibreDWG 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
None listed

What is CVE-2026-15520?

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

Official description

A vulnerability was determined in GNU LibreDWG 0.13.4-154-g0b573035. This impacts the function decompress_R2004_section of the file src/decode.c of the component R2004 Section Decompression. Executing a manipulation can lead to heap-based buffer overflow. The attack requires local access. The exploit has been publicly disclosed and may be utilized. Upgrading to version 0.14.8396 will fix this issue. This patch is called 3d0f9fc2eddbd6579c99af3111c37c98f03475d0. You should upgrade the affected component.

Weakness: CWE-122, CWE-119

Which versions are affected by CVE-2026-15520?

How do I fix CVE-2026-15520?

No fix has been published for CVE-2026-15520 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2026-15520 being exploited?

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

Sources

Also known as GHSA-67vr-6jq3-273m, GHSA-qg2f-8389-w95j.

Is CVE-2026-15520 in your software?

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

Check your SBOMs for free