Description
In Artifex Ghostscript 9.23 before 2018-08-24, a type confusion using the .shfill operator could be used by attackers able to supply crafted PostScript files to crash the interpreter or potentially execute code.
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.22~dfsg-3 | — |
| Debian 13 | ghostscript | 9.22~dfsg-3 | — |
| Debian 12 | ghostscript | 9.22~dfsg-3 | — |
| Debian 9 | ghostscript | 9.20~dfsg-3.2+deb9u4 | DSA-4288-1 |
| Debian 8 | ghostscript | 9.06~dfsg-2+deb8u8 | DLA-1504-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ghostscript | 9.22~dfsg+1-0ubuntu1.2 | USN-3768-1 |
| Ubuntu 16.04 LTS | ghostscript | 9.18~dfsg~0-0ubuntu2.9 | USN-3768-1 |
| Ubuntu 14.04 LTS | ghostscript | 9.10~dfsg-0ubuntu10.13 | USN-3768-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | ghostscript +4 | 9.07-31.el7_6.1 | RHSA-2018:3650 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | ghostscript | 9.25-3.6.1 | SUSE-SU-2018:2976-1 |
| SLES 15 | libspectre | 0.2.8-3.2.1 | SUSE-SU-2018:2976-1 |
| SLES 12 SP3 | ghostscript | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SLES 12 SP2 | ghostscript | 9.25-23.13.1 | SUSE-SU-2018:2975-2, SUSE-SU-2018:2975-1 |
| SLES 12 SP1 | ghostscript | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SLES 12 | ghostscript | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | ghostscript | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SLES for SAP 12 SP2 | ghostscript | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SLES for SAP 12 SP1 | ghostscript | 9.25-23.13.1 | SUSE-SU-2018:2975-3 |
| SUSE OpenStack Cloud 7 | ghostscript | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
| SUSE Enterprise Storage 4 | ghostscript | 9.25-23.13.1 | SUSE-SU-2018:2975-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ghostscript | 9.54.0-2.2 | openSUSE-SU-2024:10783-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | ghostscript | 9.24-r0 | — |
| Alpine v3.23 | ghostscript | 9.24-r0 | — |
| Alpine v3.22 | ghostscript | 9.24-r0 | — |
| Alpine v3.21 | ghostscript | 9.24-r0 | — |
| Alpine v3.20 | ghostscript | 9.24-r0 | — |
Show 15 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | ghostscript | 9.24-r0 | — |
| Alpine v3.18 | ghostscript | 9.24-r0 | — |
| Alpine v3.17 | ghostscript | 9.24-r0 | — |
| Alpine v3.16 | ghostscript | 9.24-r0 | — |
| Alpine v3.15 | ghostscript | 9.24-r0 | — |
| Alpine v3.14 | ghostscript | 9.24-r0 | — |
| Alpine v3.13 | ghostscript | 9.24-r0 | — |
| Alpine v3.12 | ghostscript | 9.24-r0 | — |
| Alpine v3.11 | ghostscript | 9.24-r0 | — |
| Alpine v3.10 | ghostscript | 9.24-r0 | — |
| Alpine v3.9 | ghostscript | 9.24-r0 | — |
| Alpine v3.8 | ghostscript | 9.24-r0 | — |
| Alpine v3.7 | ghostscript | 9.24-r0 | — |
| Alpine v3.6 | ghostscript | 9.24-r0 | — |
| Alpine v3.5 | ghostscript | 9.24-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | ghostscript +4 | 9.06-8.amzn2.0.5 | ALAS2-2018-1088 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | ghostscript +4 | 9.07-31.el7_6.1 | ELSA-2018-3650 |
Advisories 11
- RHSA-2018:3650 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-3768-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4288-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1504-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
- SUSE-SU-2018:2976-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2975-3 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2975-2 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2975-1 Security update for ghostscript SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2018-3650 Important: ghostscript security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 26, 2018
- ALAS2-2018-1088 Important: ghostscript security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 10, 2018
References
- RHSA-2018:3650 vendor-advisory
- GLSA-201811-12 vendor-advisory
- USN-3768-1 vendor-advisory
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=e01e77a36cbb2e0277bc3a63852244bec41be0f6
- 105178 vdb-entry
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=0b6cd1918e1ec4ffd087400a754a845180a4522b
- https://www.kb.cert.org/vuls/id/332928
- [debian-lts-announce] 20180913 [SECURITY] [DLA 1504-1] ghostscript security update mailing-list
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44101
- https://support.f5.com/csp/article/K24803507?utm_source=f5support&%3Butm_medium=RSS