---
id: CVE-2026-15520
title: A vulnerability was determined in GNU LibreDWG 0.13.4-154-g0b573035
summary: >-
  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-base…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-119
  - CWE-122
published: '2026-07-13'
updated: '2026-07-13'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-15520'
references:
  - url: >-
      https://github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_0b57303_heap_overflow_decompress_R2004_section.dwg
    label: cna@vuldb.com
  - url: >-
      https://github.com/LibreDWG/libredwg/commit/3d0f9fc2eddbd6579c99af3111c37c98f03475d0
    label: cna@vuldb.com
  - url: 'https://github.com/LibreDWG/libredwg/issues/1251'
    label: cna@vuldb.com
  - url: 'https://github.com/LibreDWG/libredwg/releases/tag/0.14.8396'
    label: cna@vuldb.com
  - url: 'https://github.com/advisories/GHSA-qg2f-8389-w95j'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/cve/CVE-2026-15520'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/851190'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/377849'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/377849/cti'
    label: cna@vuldb.com
  - url: 'https://www.gnu.org/'
    label: cna@vuldb.com
tags:
  - nvd
ingestedAt: '2026-07-13T02:23:27.730Z'
epss: 0.00185
epssPercentile: 0.0832
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
