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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | graphviz | 2.42.2-5 | — |
| Debian 13 | graphviz | 2.42.2-5 | — |
| Debian 12 | graphviz | 2.42.2-5 | — |
| Debian 10 | graphviz | 2.40.1-6+deb10u1 | DSA-4914-1 |
| Debian 9 | graphviz | 2.38.0-17+deb9u1 | DLA-2659-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | graphviz | 2.42.2-3ubuntu0.1~esm1 | USN-5971-1 |
| Ubuntu Pro 18.04 LTS | graphviz | 2.40.1-2ubuntu0.1~esm1 | USN-5971-1 |
| Ubuntu Pro 16.04 LTS | graphviz | 2.38.0-12ubuntu2.1+esm1 | USN-5264-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | graphviz | 2.36.0-0ubuntu3.2+esm1 | USN-5971-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | graphviz +4 | 2.40.1-43.el8 | RHSA-2021:4256 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | graphviz +4 | 2.40.1-43.el8 | ALSA-2021:4256 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | graphviz | 2.40.1-43.el8 | RLSA-2021:4256 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | graphviz +1 | 2.40.1-6.9.1 | SUSE-SU-2021:1651-1 |
| SLES 15 SP2 | graphviz +1 | 2.40.1-6.9.1 | SUSE-SU-2021:1651-1 |
| SLES 15 SP1 | graphviz +1 | 2.40.1-6.9.1 | SUSE-SU-2021:1651-1 |
| SLES 15 | graphviz +1 | 2.40.1-6.9.1 | SUSE-SU-2021:1651-1 |
| SLES 12 SP5 | graphviz +1 | 2.28.0-29.6.1 | SUSE-SU-2021:1646-1 |
Show 19 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP4 | graphviz +1 | 2.28.0-29.6.1 | SUSE-SU-2021:1646-1 |
| SLES 12 SP3 | graphviz +1 | 2.28.0-29.6.1 | SUSE-SU-2021:1646-1 |
| SLES 12 SP2 | graphviz +1 | 2.28.0-29.6.1 | SUSE-SU-2021:1646-1 |
| SLES for SAP 15 SP1 | graphviz +1 | 2.40.1-6.9.1 | SUSE-SU-2021:1651-1 |
| SLES for SAP 15 | graphviz +1 | 2.40.1-6.9.1 | SUSE-SU-2021:1651-1 |
| SLES for SAP 12 SP5 | graphviz +1 | 2.28.0-29.6.1 | SUSE-SU-2021:1646-1 |
| SLES for SAP 12 SP4 | graphviz +1 | 2.28.0-29.6.1 | SUSE-SU-2021:1646-1 |
| SLES for SAP 12 SP3 | graphviz +1 | 2.28.0-29.6.1 | SUSE-SU-2021:1646-1 |
| SLE HPC 15 SP1 | graphviz +1 | 2.40.1-6.9.1 | SUSE-SU-2021:1651-1 |
| SLE HPC 15 | graphviz +1 | 2.40.1-6.9.1 | SUSE-SU-2021:1651-1 |
| SUSE OpenStack Cloud Crowbar 9 | graphviz +1 | 2.28.0-29.6.1 | SUSE-SU-2021:1646-1 |
| SUSE OpenStack Cloud Crowbar 8 | graphviz +1 | 2.28.0-29.6.1 | SUSE-SU-2021:1646-1 |
| SUSE OpenStack Cloud 9 | graphviz +1 | 2.28.0-29.6.1 | SUSE-SU-2021:1646-1 |
| SUSE OpenStack Cloud 8 | graphviz +1 | 2.28.0-29.6.1 | SUSE-SU-2021:1646-1 |
| SUSE Manager Server 4.0 | graphviz +1 | 2.40.1-6.9.1 | SUSE-SU-2021:1651-1 |
| SUSE Manager Retail Branch Server 4.0 | graphviz +1 | 2.40.1-6.9.1 | SUSE-SU-2021:1651-1 |
| SUSE Manager Proxy 4.0 | graphviz +1 | 2.40.1-6.9.1 | SUSE-SU-2021:1651-1 |
| SUSE HPE Helion OpenStack 8 | graphviz +1 | 2.28.0-29.6.1 | SUSE-SU-2021:1646-1 |
| SUSE Enterprise Storage 6 | graphviz +1 | 2.40.1-6.9.1 | SUSE-SU-2021:1651-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.3 | graphviz +1 | 2.40.1-6.9.1 | openSUSE-SU-2021:1651-1 |
| openSUSE Leap 15.2 | graphviz +1 | 2.40.1-lp152.7.10.1 | openSUSE-SU-2021:0757-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | graphviz | 2.46.0-r0 | — |
| Alpine v3.23 | graphviz | 2.46.0-r0 | — |
| Alpine v3.22 | graphviz | 2.46.0-r0 | — |
| Alpine v3.21 | graphviz | 2.46.0-r0 | — |
| Alpine v3.20 | graphviz | 2.46.0-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | graphviz | 2.46.0-r0 | — |
| Alpine v3.18 | graphviz | 2.46.0-r0 | — |
| Alpine v3.17 | graphviz | 2.46.0-r0 | — |
| Alpine v3.16 | graphviz | 2.46.0-r0 | — |
| Alpine v3.15 | graphviz | 2.46.0-r0 | — |
| Alpine v3.14 | graphviz | 2.46.0-r0 | — |
| Alpine v3.13 | graphviz | 2.44.0-r2 | — |
| Alpine v3.12 | graphviz | 2.44.0-r1 | — |
| Alpine v3.11 | graphviz | 2.42.3-r1 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | graphviz | 2.42.4-10 | — |
| Azure Linux 2 (CBL-Mariner) | graphviz | 2.42.4-6 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | graphviz +4 | 2.40.1-43.el8 | ELSA-2021-4256 |
Advisories 12
- ALSA-2021:4256 Moderate: graphviz security update AlmaLinux Security Advisories · Oct 29, 2026
- USN-5971-1 graphviz vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- RHSA-2021:4256 Red Hat Security Advisory: graphviz security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-5264-1 graphviz vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DSA-4914-1 graphviz - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2659-1 graphviz - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:4256 Moderate: graphviz security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2021:1651-1 Security update for graphviz SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0757-1 Security update for graphviz SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:1646-1 Security update for graphviz SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1651-1 Security update for graphviz SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2021-4256 Moderate: graphviz security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 16, 2021
References
- https://gitlab.com/graphviz/graphviz/-/issues/1700
- [debian-lts-announce] 20210513 [SECURITY] [DLA 2659-1] graphviz security update mailing-list
- DSA-4914 vendor-advisory
- FEDORA-2021-5fb7be1fbf vendor-advisory
- FEDORA-2021-ede783f2b6 vendor-advisory
- GLSA-202107-04 vendor-advisory