Description
An issue was discovered in Artifex Ghostscript before 9.24. Incorrect exec stack handling in the "CS" and "SC" PDF primitives could be used by remote attackers able to supply crafted PDFs to crash the interpreter or possibly have unspecified other impact.
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.25~dfsg-1 | — |
| Debian 13 | ghostscript | 9.25~dfsg-1 | — |
| Debian 12 | ghostscript | 9.25~dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ghostscript | 9.22~dfsg+1-0ubuntu1.2 | USN-3773-1, USN-3768-1 |
| Ubuntu 16.04 LTS | ghostscript | 9.18~dfsg~0-0ubuntu2.9 | USN-3773-1, USN-3768-1 |
| Ubuntu 14.04 LTS | ghostscript | 9.10~dfsg-0ubuntu10.13 | USN-3773-1, USN-3768-1 |
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 |
Advisories 7
- USN-3773-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-3768-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 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