CVE-2020-18032 Memory corruption in n/a

High 7.8 Published Updated

Remote attackers can execute arbitrary code or crash the application by loading a crafted file into the Graphviz library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-18032?

CVE-2020-18032 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 29 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-120

Which versions are affected by CVE-2020-18032?

It affects 3 products.

Linux distribution packages (40)
graphviz AlmaLinux:8All versions2.40.1-43.el8
graphviz-devel AlmaLinux:8All versions2.40.1-43.el8
graphviz-doc AlmaLinux:8All versions2.40.1-43.el8
graphviz-gd AlmaLinux:8All versions2.40.1-43.el8
graphviz-python3 AlmaLinux:8All versions2.40.1-43.el8
graphviz Red Hat:enterprise_linux:8::appstreamAll versions0:2.40.1-43.el8
graphviz-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.40.1-43.el8
graphviz-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:2.40.1-43.el8
graphviz-gd-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.40.1-43.el8
graphviz-guile-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.40.1-43.el8
graphviz-java-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.40.1-43.el8
graphviz-lua-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.40.1-43.el8
graphviz-ocaml-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.40.1-43.el8
graphviz-perl-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.40.1-43.el8
graphviz-python3-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.40.1-43.el8
graphviz-ruby-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.40.1-43.el8
graphviz-tcl-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.40.1-43.el8
graphviz-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-debugsource Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-devel Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-doc Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-gd Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-gd-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-guile-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-java-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-lua-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-ocaml-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-perl-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-python3 Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-python3-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-ruby-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz-tcl-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:2.40.1-43.el8
graphviz Rocky Linux:8All versions0:2.40.1-43.el8
graphviz SUSE:Enterprise Storage 6All versions2.40.1-6.9.1
graphviz-addons SUSE:Enterprise Storage 6All versions2.40.1-6.9.1
graphviz SUSE:HPE Helion OpenStack 8All versions2.28.0-29.6.1
graphviz-plugins SUSE:HPE Helion OpenStack 8All versions2.28.0-29.6.1
graphviz-plugins SUSE:Linux Enterprise High Availability Extension 12 SP3All versions2.28.0-29.6.1
graphviz-plugins SUSE:Linux Enterprise High Availability Extension 12 SP4All versions2.28.0-29.6.1
graphviz-plugins SUSE:Linux Enterprise High Availability Extension 12 SP5All versions2.28.0-29.6.1

Products include Debian Debian Linux, Fedoraproject Fedora, Graphviz Graphviz.

How do I fix CVE-2020-18032?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-18032 being exploited?

There is no known exploitation of CVE-2020-18032 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2020-18032, ALSA-2021:4256, AZL-34767, AZL-6454, CLEANSTART-2026-IG79892, DEBIAN-CVE-2020-18032 and 11 more.

Is CVE-2020-18032 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free