---
id: CVE-2020-21813
title: >-
  A heap based buffer overflow issue exists in GNU LibreDWG 0.10.2641 via
  output_TEXT ../../programs/dwg2SVG.c:114.
summary: >-
  A heap based buffer overflow issue exists in GNU LibreDWG 0.10.2641 via
  output_TEXT ../../programs/dwg2SVG.c:114.
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.2641
published: '2021-05-17'
updated: '2026-07-05'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2020-21813'
references:
  - url: 'http://libredwg.com'
    label: cve@mitre.org
  - url: 'https://github.com/LibreDWG/libredwg/issues/182#issuecomment-572890969'
    label: cve@mitre.org
  - url: 'http://gnu.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://libredwg.com'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/LibreDWG/libredwg/issues/182#issuecomment-572890969'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00813
epssPercentile: 0.55185
ingestedAt: '2026-07-05T00:59:25.869Z'
---

## Overview

A heap based buffer overflow issue exists in GNU LibreDWG 0.10.2641 via output_TEXT ../../programs/dwg2SVG.c:114.

## Affected

- `libredwg = 0.10.2641`

## Remediation

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