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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 5% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-07-13T01:15:16.694Z
- Modified: 2026-10-24T22:10:00.210Z
- Weaknesses: CWE-119, CWE-122
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

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

(As written by CVE List.)

## Affected

- GNU LibreDWG: 0.13.4-154-g0b573035 (not affected: 0.14.8396)

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/LibreDWG/libredwg/issues/1251> (exploit, issue-tracking)
- <https://github.com/HackC0der/CVE-Repos/blob/main/libredwg/libredwg_0b57303_heap_overflow_decompress_R2004_section.dwg> (exploit)
- <https://vuldb.com/vuln/377849> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/377849/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-15520> (third-party-advisory)
- <https://vuldb.com/submit/851190> (third-party-advisory)
- <https://github.com/advisories/GHSA-qg2f-8389-w95j> (broken-link, issue-tracking)
- <https://github.com/LibreDWG/libredwg/commit/3d0f9fc2eddbd6579c99af3111c37c98f03475d0> (patch)
- <https://github.com/LibreDWG/libredwg/releases/tag/0.14.8396> (patch)
- <https://www.gnu.org/> (broken-link, product)

## Sources

- CVE List: [CVE-2026-15520](https://www.cve.org/CVERecord?id=CVE-2026-15520), CVE Terms of Use, modified 2026-07-13
- NVD: [CVE-2026-15520](https://nvd.nist.gov/vuln/detail/CVE-2026-15520), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-15520 · Whole record: https://cve.day/CVE-2026-15520.json · Rebuilt by cve.day 2026-11-25T22:59:27.770Z
