Description
It was found that in ghostscript some privileged operators remained accessible from various places after the CVE-2019-6116 fix. 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. Ghostscript versions before 9.27 are vulnerable.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The ghostscript Project | ghostscript | 9.28 | — |
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+deb9u3 | DSA-4442-1 |
| Debian 8 | ghostscript | 9.26a~dfsg-0+deb8u3 | DLA-1792-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.18.04.9 | USN-3970-1 |
| Ubuntu 16.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.9 | USN-3970-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.11 | RHSA-2019:1017 |
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 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 |
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.11 | ELSA-2019-1017 |
Advisories 13
- RHSA-2019:0971 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2019:1017 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-3970-1 ghostscript vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4442-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1792-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 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
- WID-SEC-2023-0712 Ghostscript: Schwachstelle ermöglicht Privilegieneskalation BSI CERT-Bund (WID) · Mar 21, 2023
- 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-1017 Important: ghostscript security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · May 7, 2019
References
- RHSA-2019:0971 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3839
- RHSA-2019:1017 vendor-advisory
- USN-3970-1 vendor-advisory
- DSA-4442 vendor-advisory
- 20190512 [SECURITY] [DSA 4442-1] ghostscript security update mailing-list
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=4ec9ca74bed49f2a82acb4bf430eae0d8b3b75c9
- [debian-lts-announce] 20190519 [SECURITY] [DLA 1792-1] ghostscript security update mailing-list
- FEDORA-2019-953fc0f16d vendor-advisory
- FEDORA-2019-ebd6c4f15a vendor-advisory
- openSUSE-SU-2019:2222 vendor-advisory
- openSUSE-SU-2019:2223 vendor-advisory