Description
It was found that the superexec operator was available in the internal dictionary in ghostscript before 9.27. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The ghostscript Project | ghostscript | 9.27 | — |
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 | ghostscript | 9.27~dfsg-1 | — |
| Debian 13 | ghostscript | 9.27~dfsg-1 | — |
| Debian 12 | ghostscript | 9.27~dfsg-1 | — |
| Debian 9 | ghostscript | 9.26a~dfsg-0+deb9u2 | DSA-4432-1 |
| Debian 8 | ghostscript | 9.26a~dfsg-0+deb8u2 | DLA-1761-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.18.04.8 | USN-3915-1 |
| Ubuntu 16.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.8 | USN-3915-1 |
| Ubuntu 14.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.14.04.8 | USN-3915-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | libgs +7 | 9.25-2.el8_0.1 | RHSA-2019:0971 |
| RHEL 7 | ghostscript +4 | 9.07-31.el7_6.10 | RHSA-2019:0633 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | ghostscript | 9.27-3.21.1 | SUSE-SU-2019:2460-1 |
| SLES 15 | ghostscript | 9.27-3.21.1 | SUSE-SU-2019:2460-1 |
| SLES 12 SP5 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SLES 12 SP4 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SLES 12 SP3 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SLES 12 SP1 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SLES for SAP 12 SP5 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SLES for SAP 12 SP4 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SLES for SAP 12 SP3 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SLES for SAP 12 SP2 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SLES for SAP 12 SP1 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SUSE OpenStack Cloud Crowbar 8 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SUSE OpenStack Cloud 8 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SUSE OpenStack Cloud 7 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SUSE HPE Helion OpenStack 8 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SUSE Enterprise Storage 5 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
| SUSE Enterprise Storage 4 | ghostscript | 9.27-23.28.1 | SUSE-SU-2019:2478-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ghostscript | 9.54.0-2.2 | openSUSE-SU-2024:10783-1 |
| openSUSE Leap 15.1 | ghostscript +1 | 9.27-lp151.3.6.1 | openSUSE-SU-2019:2223-1 |
| openSUSE Leap 15.0 | ghostscript +1 | 9.27-lp150.2.23.1 | openSUSE-SU-2019:2222-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | ghostscript | 9.26-r2 | — |
| Alpine v3.23 | ghostscript | 9.26-r2 | — |
| Alpine v3.22 | ghostscript | 9.26-r2 | — |
| Alpine v3.21 | ghostscript | 9.26-r2 | — |
| Alpine v3.20 | ghostscript | 9.26-r2 | — |
Show 14 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | ghostscript | 9.26-r2 | — |
| Alpine v3.18 | ghostscript | 9.26-r2 | — |
| Alpine v3.17 | ghostscript | 9.26-r2 | — |
| Alpine v3.16 | ghostscript | 9.26-r2 | — |
| Alpine v3.15 | ghostscript | 9.26-r2 | — |
| Alpine v3.14 | ghostscript | 9.26-r2 | — |
| Alpine v3.13 | ghostscript | 9.26-r2 | — |
| Alpine v3.12 | ghostscript | 9.26-r2 | — |
| Alpine v3.11 | ghostscript | 9.26-r2 | — |
| Alpine v3.10 | ghostscript | 9.26-r2 | — |
| Alpine v3.9 | ghostscript | 9.26-r2 | — |
| Alpine v3.8 | ghostscript | 9.26-r2 | — |
| Alpine v3.7 | ghostscript | 9.26-r2 | — |
| Alpine v3.6 | ghostscript | 9.26-r2 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libgs +5 | 9.25-5.amzn2 | ALAS2-2021-1598 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | libgs +7 | 9.25-2.el8_0.1 | ELSA-2019-0971 |
| Oracle Linux 7 | ghostscript +4 | 9.07-31.el7_6.10 | ELSA-2019-0633 |
Advisories 13
- RHSA-2019:0971 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2019:0633 Red Hat Security Advisory: ghostscript security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-3915-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4432-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1761-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10783-1 ghostscript-9.54.0-2.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2223-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2222-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2460-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2478-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2021-1598 Important: ghostscript security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 19, 2021
- ELSA-2019-0971 Important: ghostscript security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 30, 2019
- ELSA-2019-0633 Important: ghostscript security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 21, 2019
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3835
- https://bugs.ghostscript.com/show_bug.cgi?id=700585
- RHSA-2019:0652 vendor-advisory
- FEDORA-2019-d5d9cfd359 vendor-advisory
- FEDORA-2019-1a2c059afd vendor-advisory
- 20190402 [slackware-security] ghostscript (SSA:2019-092-01) mailing-list
- http://packetstormsecurity.com/files/152367/Slackware-Security-Advisory-ghostscript-Updates.html
- FEDORA-2019-9f28451404 vendor-advisory
- DSA-4432 vendor-advisory
- 20190417 [SECURITY] [DSA 4432-1] ghostscript security update mailing-list
- 107855 vdb-entry
- [debian-lts-announce] 20190423 [SECURITY] [DLA 1761-1] ghostscript security update mailing-list
- RHSA-2019:0971 vendor-advisory
- openSUSE-SU-2019:2222 vendor-advisory
- openSUSE-SU-2019:2223 vendor-advisory
- GLSA-202004-03 vendor-advisory