CVE-2023-36664
Description
Artifex Ghostscript through 10.01.2 mishandles permission validation for pipe devices, allowing arbitrary command execution via crafted PostScript or PDF files.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Artifex Ghostscript through 10.01.2 mishandles permission validation for pipe devices, allowing arbitrary command execution via crafted PostScript or PDF files.
Vulnerability
In Artifex Ghostscript versions through 10.01.2, the permission validation for pipe devices (using the %pipe% prefix or the | pipe character prefix) is mishandled. This enables a specially crafted PostScript or PDF file to bypass intended restrictions and execute arbitrary system commands. The issue is rooted in inadequate checking when the output device is set to a pipe, as described in the official CVE description [1].
Exploitation
An attacker can exploit this vulnerability by providing a malicious PostScript or PDF file to a victim or a service that processes such files with Ghostscript. No authentication or special network position is required beyond the ability to supply the crafted file. The file uses the %pipe% or | prefix to specify a command as the output device, which Ghostscript then executes without proper permission checks. User interaction is necessary (e.g., opening the file) for the exploit to succeed [1].
Impact
Successful exploitation leads to arbitrary command execution with the privileges of the Ghostscript process. This can result in full compromise of the affected system, including data exfiltration, installation of malware, or further lateral movement within the network. The vulnerability is classified as critical with a high CVSS score, and it has been exploited in the wild [4].
Mitigation
Artifex released version 10.01.2 which includes a fix for this issue. Users should upgrade to Ghostscript 10.01.2 or later immediately. For Gentoo Linux, the fixed version is >=app-text/ghostscript-gpl-10.01.2 [4]. Red Hat and other distributions have also backported patches to earlier versions. No workaround is available; upgrading is the only reliable mitigation [4].
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
47(expand)+ 1 more
- (no CPE)
- (no CPE)range: <=10.01.2
- osv-coords45 versionspkg:apk/chainguard/ghostscriptpkg:apk/chainguard/ghostscript-dbgpkg:apk/chainguard/ghostscript-devpkg:apk/chainguard/ghostscript-docpkg:apk/wolfi/ghostscriptpkg:apk/wolfi/ghostscript-dbgpkg:apk/wolfi/ghostscript-devpkg:apk/wolfi/ghostscript-docpkg:rpm/almalinux/ghostscriptpkg:rpm/almalinux/ghostscript-docpkg:rpm/almalinux/ghostscript-tools-dvipdfpkg:rpm/almalinux/ghostscript-tools-fontspkg:rpm/almalinux/ghostscript-tools-printingpkg:rpm/almalinux/ghostscript-x11pkg:rpm/almalinux/libgspkg:rpm/almalinux/libgs-develpkg:rpm/opensuse/ghostscript&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/ghostscript&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/ghostscript&distro=openSUSE%20Tumbleweedpkg:rpm/suse/ghostscript&distro=SUSE%20Enterprise%20Storage%207pkg:rpm/suse/ghostscript&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-ESPOSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/ghostscript&distro=SUSE%20Manager%20Proxy%204.2pkg:rpm/suse/ghostscript&distro=SUSE%20Manager%20Server%204.2pkg:rpm/suse/ghostscript&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/ghostscript&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 0+ 44 more
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 9.54.0-10.el9_2
- (no CPE)range: < 9.54.0-10.el9_2
- (no CPE)range: < 9.54.0-10.el9_2
- (no CPE)range: < 9.54.0-10.el9_2
- (no CPE)range: < 9.54.0-10.el9_2
- (no CPE)range: < 9.54.0-10.el9_2
- (no CPE)range: < 9.54.0-10.el9_2
- (no CPE)range: < 9.54.0-10.el9_2
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.56.1-4.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-23.54.1
- (no CPE)range: < 9.52-23.54.1
- (no CPE)range: < 9.52-23.54.1
- (no CPE)range: < 9.52-23.54.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-23.54.1
- (no CPE)range: < 9.52-23.54.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-23.54.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-150000.167.1
- (no CPE)range: < 9.52-23.54.1
- (no CPE)range: < 9.52-23.54.1
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
7- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2ICXN5VPF3WJCYKMPSYER5KHTPJXSTJZ/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5EWMEK2UPCUU3ZLL7VASE5CEHDQY4VKV/mitrevendor-advisory
- security.gentoo.org/glsa/202309-03mitrevendor-advisory
- www.debian.org/security/2023/dsa-5446mitrevendor-advisory
- bugs.ghostscript.com/show_bug.cgimitre
- git.ghostscript.commitre
- git.ghostscript.commitre
News mentions
0No linked articles in our index yet.