Description
A buffer overflow vulnerability in epsc_print_page() in devices/gdevepsc.c of Artifex Software GhostScript v9.50 allows a remote attacker to cause a denial of service via a crafted PDF file. This is fixed in v9.51.
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.51~dfsg-1 | — |
| Debian 13 | ghostscript | 9.51~dfsg-1 | — |
| Debian 12 | ghostscript | 9.51~dfsg-1 | — |
| Debian 10 | ghostscript | 9.27~dfsg-2+deb10u4 | DSA-4748-1 |
| Debian 9 | ghostscript | 9.26a~dfsg-0+deb9u7 | DLA-2335-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.2 | USN-4469-1 |
| Ubuntu 18.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.18.04.13 | USN-4469-1 |
| Ubuntu 16.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.13 | USN-4469-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | libgs +7 | 9.27-1.el8 | RHSA-2021:1852 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | libgs +7 | 9.27-1.el8 | ALSA-2021:1852 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | ghostscript | 9.27-1.el8 | RLSA-2021:1852 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | ghostscript | 9.51-r0 | — |
| Alpine v3.23 | ghostscript | 9.51-r0 | — |
| Alpine v3.22 | ghostscript | 9.51-r0 | — |
| Alpine v3.21 | ghostscript | 9.51-r0 | — |
| Alpine v3.20 | ghostscript | 9.51-r0 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | ghostscript | 9.51-r0 | — |
| Alpine v3.18 | ghostscript | 9.51-r0 | — |
| Alpine v3.17 | ghostscript | 9.51-r0 | — |
| Alpine v3.16 | ghostscript | 9.51-r0 | — |
| Alpine v3.15 | ghostscript | 9.51-r0 | — |
| Alpine v3.14 | ghostscript | 9.51-r0 | — |
| Alpine v3.13 | ghostscript | 9.51-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libgs +5 | 9.25-5.amzn2.0.7 | ALAS2-2023-2308 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | libgs +7 | 9.27-1.el8 | ELSA-2021-1852 |
Advisories 9
- ALSA-2021:1852 Moderate: ghostscript security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2021:1852 Red Hat Security Advisory: ghostscript security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Aug 9, 2026
- USN-4469-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4748-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2335-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:1852 Moderate: ghostscript security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 5, 2026
- WID-SEC-2023-2405 Ghostscript: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 14, 2023
- ALAS2-2023-2308 Moderate: ghostscript security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 19, 2023
- ELSA-2021-1852 Moderate: ghostscript security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 25, 2021
References
- https://bugs.ghostscript.com/show_bug.cgi?id=701794
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=89f58f1aa95b3482cadf6977da49457194ee5358
- [debian-lts-announce] 20200820 [SECURITY] [DLA 2335-1] ghostscript security update mailing-list
- DSA-4748 vendor-advisory
- GLSA-202008-20 vendor-advisory
- USN-4469-1 vendor-advisory