Description
psi/zfile.c in Artifex Ghostscript before 9.21rc1 permits the status command even if -dSAFER is used, which might allow remote attackers to determine the existence and size of arbitrary files, a similar issue to CVE-2016-7977.
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.21~dfsg-1 | — |
| Debian 13 | ghostscript | 9.21~dfsg-1 | — |
| Debian 12 | ghostscript | 9.21~dfsg-1 | — |
| Debian 9 | ghostscript | 9.25~dfsg-0+deb9u1 | DSA-4336-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 | libgs +5 | 9.25-2.el7 | RHSA-2019:2281 |
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 | libgs +5 | 9.25-2.el7 | ELSA-2019-2281 |
Advisories 6
- RHSA-2019:2281 Red Hat Security Advisory: ghostscript security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-3768-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4336-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1504-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- ELSA-2019-2281 Low: ghostscript security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 13, 2019
- ALAS2-2018-1088 Important: ghostscript security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 10, 2018
References
- USN-3768-1 vendor-advisory
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=b60d50b7567369ad856cebe1efb6cd7dd2284219
- https://bugs.ghostscript.com/show_bug.cgi?id=697193
- DSA-4336 vendor-advisory
- [debian-lts-announce] 20180913 [SECURITY] [DLA 1504-1] ghostscript security update mailing-list
- RHSA-2019:2281 vendor-advisory