Description
In Artifex Ghostscript through 10.01.2, gdevijs.c in GhostPDL can lead to remote code execution via crafted PostScript documents because they can switch to the IJS device, or change the IjsServer parameter, after SAFER has been activated. NOTE: it is a documented risk that the IJS server can be specified on a gs command line (the IJS device inherently must execute a command to start the IJS server).
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 | 10.02.0~dfsg-1 | — |
| Debian 13 | ghostscript | 10.02.0~dfsg-1 | — |
| Debian 12 | ghostscript | 10.0.0~dfsg-11+deb12u2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.5 | USN-6433-1 |
| Ubuntu 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.11 | USN-6433-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | ghostscript | No fix yet | — |
| Ubuntu Pro 16.04 LTS | ghostscript | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | libgs +7 | 9.54.0-11.el9_2 | RHSA-2023:6732, RHSA-2023:6265 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.0 EUS | libgs +7 | 9.54.0-7.el9_0.2 | RHSA-2023:5868 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | libgs +7 | 9.54.0-11.el9_2 | ALSA-2023:6732, ALSA-2023:6265 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
| SLES 15 SP4 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
| SLES 15 SP3 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
| SLES 15 SP2 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
| SLES 15 SP1 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | ghostscript | 9.52-23.60.1 | SUSE-SU-2023:3938-1 |
| SLES for SAP 15 SP3 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
| SLES for SAP 15 SP2 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
| SLES for SAP 15 SP1 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
| SLES for SAP 12 SP5 | ghostscript | 9.52-23.60.1 | SUSE-SU-2023:3938-1 |
| SLE HPC 15 SP3 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
| SLE HPC 15 SP2 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
| SLE HPC 15 SP1 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
| SUSE Manager Server 4.2 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
| SUSE Manager Proxy 4.2 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
| SUSE Enterprise Storage 7.1 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ghostscript | 9.56.1-6.1 | openSUSE-SU-2024:13247-1 |
| openSUSE Tumbleweed | python-ocrmypdf | 17.4.2-1.1 | openSUSE-SU-2026:10855-1 |
| openSUSE Leap 15.5 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
| openSUSE Leap 15.4 | ghostscript | 9.52-150000.173.2 | SUSE-SU-2023:3984-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | ghostscript | 10.02.0-r0 | — |
| Alpine v3.23 | ghostscript | 10.02.0-r0 | — |
| Alpine v3.22 | ghostscript | 10.02.0-r0 | — |
| Alpine v3.21 | ghostscript | 10.02.0-r0 | — |
| Alpine v3.20 | ghostscript | 10.02.0-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | ghostscript | 10.02.0-r0 | — |
| Alpine v3.18 | ghostscript | 10.02.0-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libgs +8 | 9.56.1-7.amzn2023.0.4 | ALAS2023-2023-362 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | libgs +7 | 9.54.0-11.el9_2 | ELSA-2023-6732, ELSA-2023-6265 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ghostscript | 10.02.0-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
jostaub/ghostscript-CVE-2023-43115 ★ 8 · Sep 28, 2023
A small write-up with examples to understand CVE-2023-43115
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 14
- ALSA-2023:6732 Important: ghostscript security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:6265 Important: ghostscript security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2023:6265 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2023:6732 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2023:5868 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- WID-SEC-2023-2380 Ghostscript: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · May 25, 2026
- openSUSE-SU-2026:10855-1 python311-ocrmypdf-17.4.2-1.1 on GA media SUSE / openSUSE Security Updates · May 25, 2026
- USN-6433-1 ghostscript vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- SUSE-SU-2023:3984-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13247-1 ghostscript-9.56.1-6.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3938-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2023-6732 Important: ghostscript security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 16, 2023
- ELSA-2023-6265 Important: ghostscript security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 3, 2023
- ALAS2023-2023-362 Important: ghostscript security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 3, 2023