CVE-2020-18032 json
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code…
published 5y ago modified 4mo ago also EUVD-2020-9961
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
Patch / fix
- graphviz graphviz 2.46.0
- graphviz Debian 14, Debian 13, Debian 12 2.42.2-5
debian advisories DEBIAN-CVE-2020-18032
- graphviz Ubuntu Pro 14.04 LTS 2.36.0-0ubuntu3.2+esm1
- graphviz Ubuntu Pro 16.04 LTS 2.38.0-12ubuntu2.1+esm1
- graphviz Ubuntu Pro 18.04 LTS 2.40.1-2ubuntu0.1~esm1
- graphviz Ubuntu Pro 20.04 LTS 2.42.2-3ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2020-18032
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- graphviz RHEL 8 2.40.1-43.el8
- graphviz-gd RHEL 8 2.40.1-43.el8
- graphviz-python3 RHEL 8 2.40.1-43.el8
red hat advisories RHSA-2021:4256
- graphviz SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +12 more 2.40.1-6.9.1
- graphviz-addons SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +20 more 2.40.1-6.9.1
- graphviz SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +11 more 2.28.0-29.6.1
- graphviz-plugins SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +13 more 2.28.0-29.6.1
suse advisories SUSE-SU-2021:1651-1SUSE-SU-2021:1646-1
- graphviz openSUSE Leap 15.3 2.40.1-6.9.1
- graphviz-addons openSUSE Leap 15.3 2.40.1-6.9.1
- graphviz openSUSE Leap 15.2 2.40.1-lp152.7.10.1
- graphviz-addons openSUSE Leap 15.2 2.40.1-lp152.7.10.1
opensuse advisories openSUSE-SU-2021:1651-1openSUSE-SU-2021:0757-1
- graphviz AlmaLinux 8 2.40.1-43.el8
- graphviz-gd AlmaLinux 8 2.40.1-43.el8
- graphviz-python3 AlmaLinux 8 2.40.1-43.el8
almalinux advisories ALSA-2021:4256
- graphviz Rocky Linux 8 2.40.1-43.el8
rocky linux advisories RLSA-2021:4256
- graphviz Alpine 3.11 2.42.3-r1
- graphviz Alpine 3.12 2.44.0-r1
- graphviz Alpine 3.13 2.44.0-r2
- graphviz Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 2.46.0-r0
alpine advisories ALPINE-CVE-2020-18032
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- graphviz Azure Linux 3.0 2.42.4-10
- graphviz CBL-Mariner 2.0 2.42.4-6
azure linux advisories AZL-34767AZL-6454
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Is CVE-2020-18032 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-18032 updated cvss 7.8
graphviz: off-by-one in parse_reclbl() in lib/common/shapes.c
-
Red Hat Enterprise Linux 6 graphviz, graphviz-gd, graphviz-lua, graphviz-php, graphviz-tcl, graphviz-java, +5 more Red Hat Enterprise Linux 7 graphviz, graphviz-gd, graphviz-lua, graphviz-php, graphviz-tcl, graphviz-java, +6 moreaffected: no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 8) graphviz-gd 2.40.1-43.el8, graphviz-python3 2.40.1-43.el8 Red Hat Enterprise Linux AppStream (v. 8) graphviz 2.40.1-43.el8fixed: vendor fix RHSA-2021:4256
-
Red Hat Enterprise Linux 9 graphviz, graphviz-gd, graphviz-ruby, graphviz-python3not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.61% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- gitlab.com https://gitlab.com/graphviz/graphviz/-/issues/1700 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-120 Buffer Copy without Checking Size of Input
References
-
gitlab.com
/graphviz/graphviz/-/issues/1700
exploit, patch, third-party-advisory
-
debian.org
/security/2021/dsa-4914
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/D5PQPHJHPU46FK3R5XBP3XDT4X37HMPC/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/QGY2IGARE6RZHTF2UEZEWLMQCDILFK6A/
vendor-advisory
-
security.gentoo.org
/glsa/202107-04
vendor-advisory, issue-tracking, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/05/msg00014.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2020-18032
- NVD CVE-2020-18032
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.