CVE-2026-15182 GNU LibreDWG BMP Image dwg.c dwg_bmp 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 BMP images.

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-15182?

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

Official description

A vulnerability has been found in GNU LibreDWG up to 0.13.4. The affected element is the function dwg_bmp of the file src/dwg.c of the component BMP Image Handler. Such manipulation leads to heap-based buffer overflow. The attack must be carried out locally. The exploit has been disclosed to the public and may be used. Upgrading to version 0.14 is sufficient to fix this issue. The name of the patch is 18fd542bb4d5ccedf9de12052bf50068b2b26f06. It is suggested to upgrade the affected component.

Weakness: CWE-122, CWE-119

Which versions are affected by CVE-2026-15182?

How do I fix CVE-2026-15182?

No fix has been published for CVE-2026-15182 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-15182 being exploited?

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

Sources

Also known as GHSA-3h8r-9w82-hxmh.

Is CVE-2026-15182 in your software?

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

Check your SBOMs for free