---
id: CVE-2020-21827
title: >-
  A heap based buffer overflow vulnerability exists in GNU LibreDWG 0.10 via
  read_2004_compressed_section ../../src/decode.c:2379.
summary: >-
  A heap based buffer overflow vulnerability exists in GNU LibreDWG 0.10 via
  read_2004_compressed_section ../../src/decode.c:2379.
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: gnu
product: libredwg
affected:
  - libredwg = 0.10
published: '2021-05-17'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2020-21827'
references:
  - url: 'https://cwe.mitre.org/data/definitions/122.html'
    label: cve@mitre.org
  - url: 'https://github.com/LibreDWG/libredwg/issues/183'
    label: cve@mitre.org
  - url: 'http://gnu.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cwe.mitre.org/data/definitions/122.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/LibreDWG/libredwg/issues/183'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00894
epssPercentile: 0.5781
ingestedAt: '2026-07-06T01:08:16.667Z'
---

## Overview

A heap based buffer overflow vulnerability exists in GNU LibreDWG 0.10 via read_2004_compressed_section ../../src/decode.c:2379.

## Affected

- `libredwg = 0.10`

## Remediation

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