cve.bz

CVE-2023-36664

7.8 highEPSS 3.9%

High (7.8). EPSS 3.9% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
3.9% (unchanged from 3.9% a week ago; 3.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-12-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-552 Files or Directories Accessible to External Parties
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-36664 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-36664?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-36664?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-36664 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
artifex:ghostscriptbefore 10.01.2
debian:debian_linux11.0
debian:debian_linux12.0
fedoraproject:fedora37
fedoraproject:fedora38

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ghostscript9.53.3~dfsg-7+deb11u5DSA-5446-1
Debian12ghostscript10.0.0~dfsg-11+deb12u1DEBIAN-CVE-2023-36664 DSA-5446-1
Debian13, 14ghostscript10.01.2~dfsg-1DEBIAN-CVE-2023-36664
Ubuntu20.04:LTSghostscript9.50~dfsg-5ubuntu4.8UBUNTU-CVE-2023-36664 USN-6213-1
Ubuntu22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.3UBUNTU-CVE-2023-36664 USN-6213-1
Red Hatenterprise_linux:9::appstreamlibgs, ghostscript, ghostscript-doc and 9 more0:9.54.0-10.el9_2RHSA-2023:5459
Red Hatenterprise_linux:9::crbghostscript, libgs-devel, libgs-debuginfo and 6 more0:9.54.0-10.el9_2RHSA-2023:5459
Red Hatrhel_eus:9.0::appstreamlibgs, ghostscript, ghostscript-doc and 9 more0:9.54.0-7.el9_0.1RHSA-2023:4324
Red Hatrhel_eus:9.0::crbghostscript, libgs-devel, libgs-debuginfo and 6 more0:9.54.0-7.el9_0.1RHSA-2023:4324
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS and 14 moreghostscript9.52-150000.167.1SUSE-SU-2023:2829-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS and 6 moreghostscript9.52-23.54.1SUSE-SU-2023:2844-1
openSUSELeap 15.4, Leap 15.5ghostscript9.52-150000.167.1SUSE-SU-2023:2829-1
openSUSETumbleweedghostscript9.56.1-4.1openSUSE-SU-2024:13036-1
AlmaLinux9libgs, ghostscript, libgs-devel and 5 more9.54.0-10.el9_2ALSA-2023:5459
Rocky Linux9ghostscript0:9.54.0-10.el9_2RLSA-2023:5459
Alpinev3.15ghostscript9.55.0-r2ALPINE-CVE-2023-36664
Alpinev3.16ghostscript9.56.1-r2ALPINE-CVE-2023-36664

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Versions of Ghostscript shipped with Red Hat Enterprise Linux 7 and 8 are not affected as it will forbid file execution with ".invalidfileaccess" if -dSAFER is used.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9ghostscript-0:9.54.0-10.el9_2Fixed 2023-10-05RHSA-2023:5459
Red Hat Enterprise Linux 9.0 Extended Update Supportghostscript-0:9.54.0-7.el9_0.1Fixed 2023-07-31RHSA-2023:4324
Red Hat Enterprise Linux 6ghostscriptOut of support scope
Red Hat Enterprise Linux 7ghostscriptNot affected
Red Hat Enterprise Linux 8ghostscriptNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-36664.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • minsmiths/cve-2023-36664 Harbor Check: matches CVE 0 stars, Python, created
    CVE-2023-36664 Ghostscript RCE 취약점 원인 분석 및 PoC 재현

Attack patterns (CAPEC)

  • CAPEC-150 Collect Data from Common Resource Locations Severity: Medium
  • CAPEC-639 Probe System Files Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON