Description
Artifex Ghostscript before 10.01.2 mishandles permission validation for pipe devices (with the %pipe% prefix or the | pipe character prefix).
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.01.2~dfsg-1 | — |
| Debian 13 | ghostscript | 10.01.2~dfsg-1 | — |
| Debian 12 | ghostscript | 10.0.0~dfsg-11+deb12u1 | DSA-5446-1 |
| Debian 11 | ghostscript | 9.53.3~dfsg-7+deb11u5 | DSA-5446-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.3 | USN-6213-1 |
| Ubuntu 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.8 | USN-6213-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | libgs +7 | 9.54.0-10.el9_2 | RHSA-2023:5459 |
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.1 | RHSA-2023:4324 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | libgs +7 | 9.54.0-10.el9_2 | ALSA-2023:5459 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | ghostscript | 9.54.0-10.el9_2 | RLSA-2023:5459 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SLES 15 SP4 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SLES 15 SP3 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SLES 15 SP2 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SLES 15 SP1 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
Show 18 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | ghostscript | 9.52-23.54.1 | SUSE-SU-2023:2844-1 |
| SLES 12 SP4 | ghostscript | 9.52-23.54.1 | SUSE-SU-2023:2844-1 |
| SLES 12 SP2 | ghostscript | 9.52-23.54.1 | SUSE-SU-2023:2844-1 |
| SLES for SAP 15 SP3 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SLES for SAP 15 SP2 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SLES for SAP 15 SP1 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SLES for SAP 12 SP5 | ghostscript | 9.52-23.54.1 | SUSE-SU-2023:2844-1 |
| SLES for SAP 12 SP4 | ghostscript | 9.52-23.54.1 | SUSE-SU-2023:2844-1 |
| SLE Real Time 15 SP3 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SLE HPC 15 SP3 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SLE HPC 15 SP2 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SLE HPC 15 SP1 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SUSE OpenStack Cloud Crowbar 9 | ghostscript | 9.52-23.54.1 | SUSE-SU-2023:2844-1 |
| SUSE OpenStack Cloud 9 | ghostscript | 9.52-23.54.1 | SUSE-SU-2023:2844-1 |
| SUSE Manager Server 4.2 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SUSE Manager Proxy 4.2 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SUSE Enterprise Storage 7.1 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| SUSE Enterprise Storage 7 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ghostscript | 9.56.1-4.1 | openSUSE-SU-2024:13036-1 |
| openSUSE Leap 15.5 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
| openSUSE Leap 15.4 | ghostscript | 9.52-150000.167.1 | SUSE-SU-2023:2829-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.16 | ghostscript | 9.56.1-r2 | — |
| Alpine v3.15 | ghostscript | 9.55.0-r2 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libgs +8 | 9.56.1-7.amzn2023.0.2 | ALAS2023-2023-276 |
| Amazon Linux 2 | libgs +5 | 9.54.0-9.amzn2.0.1 | ALAS2-2024-2544 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | libgs +7 | 9.54.0-10.el9_2 | ELSA-2023-5459 |
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 5 repositories
-
jakabakos/CVE-2023-36664-Ghostscript-command-injection ★ 131 · Aug 12, 2023
Ghostscript command injection vulnerability PoC (CVE-2023-36664)
-
minsmiths/cve-2023-36664 ★ 0 · Jul 8, 2026
CVE-2023-36664 Ghostscript RCE 취약점 원인 분석 및 PoC 재현
-
churamanib/CVE-2023-36664-Ghostscript-command-injection ★ 0 · Apr 9, 2024
-
jeanchpt/CVE-2023-36664 ★ 0 · Dec 2, 2023
Proof of concept developed for the CVE-2023-36664
-
winkler-winsen/Scan_GhostScript ★ 0 · Aug 29, 2023
Scan for GhostScript files affected to CVE-2023-36664
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 16
- ALSA-2023:5459 Important: ghostscript security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2023-2917 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 30, 2026
- RHSA-2023:5459 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2023:4324 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-6213-1 ghostscript vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-5446-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2023:5459 Important: ghostscript security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2023:2844-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13036-1 ghostscript-9.56.1-4.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2829-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-1580 Ghostscript: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · May 15, 2024
- ALAS2-2024-2544 Important: ghostscript security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 15, 2024
- ICSA-24-046-11 Siemens SCALANCE XCM-/XRM-300 CISA ICS & IT advisories · Feb 13, 2024
- SSA-806742 SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4 Siemens ProductCERT · Feb 13, 2024
- ELSA-2023-5459 Important: ghostscript security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Oct 6, 2023
- ALAS2023-2023-276 Important: ghostscript security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 9, 2023
References
- https://bugs.ghostscript.com/show_bug.cgi?id=706761
- https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=505eab7782b429017eb434b2b95120855f2b0e3c
- https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=0974e4f2ac0005d3731e0b5c13ebc7e965540f4d
- DSA-5446 vendor-advisory
- FEDORA-2023-d8a1c3e5e2 vendor-advisory
- FEDORA-2023-83c805b441 vendor-advisory
- GLSA-202309-03 vendor-advisory
- https://artifex.com/blog/security-vulnerability-fixed-in-ghostscript-10.01.2
- https://www.kroll.com/en/publications/cyber/ghostscript-cve-2023-36664-remote-code-execution-vulnerability
- https://security-tracker.debian.org/tracker/CVE-2023-36664