CVE-2023-36664: OS Command Injection

Published Jun 25, 2023
·
Updated

A vulnerability was found in Ghostscript. This flaw occurs due to a mishandled permission validation for pipe devices (with the %pipe% prefix or the | pipe character prefix).

Other sources

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

Affected Software

8 affected componentsFixes available
redhat/ghostscript<0:9.54.0-10.el9_2
0:9.54.0-10.el9_2
redhat/ghostscript<0:9.54.0-7.el9_0.1
0:9.54.0-7.el9_0.1
debian/ghostscript
9.27~dfsg-2+deb10u59.27~dfsg-2+deb10u99.53.3~dfsg-7+deb11u69.53.3~dfsg-7+deb11u510.0.0~dfsg-11+deb12u210.0.0~dfsg-11+deb12u110.02.0~dfsg-2
Artifex Ghostscript<=10.01.2
Debian Debian Linux=11.0
Debian Debian Linux=12.0
Fedoraproject Fedora=37
Fedoraproject Fedora=38

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/ghostscript to a version that resolves this vulnerability.

    Fixed in 0:9.54.0-10.el9_2
  2. Upgrade

    Upgrade redhat/ghostscript to a version that resolves this vulnerability.

    Fixed in 0:9.54.0-7.el9_0.1
  3. Upgrade

    Upgrade debian/ghostscript to a version that resolves this vulnerability.

    Fixed in 9.27~dfsg-2+deb10u5Fixed in 9.27~dfsg-2+deb10u9Fixed in 9.53.3~dfsg-7+deb11u6Fixed in 9.53.3~dfsg-7+deb11u5Fixed in 10.0.0~dfsg-11+deb12u2Fixed in 10.0.0~dfsg-11+deb12u1Fixed in 10.02.0~dfsg-2
  4. Upgrade

    Upgrade ghostscript to a version that resolves this vulnerability.

    Fixed in 10.01.2

Event History

Jun 25, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software
Jun 27, 2023
Data Sourced
06:45 AM
DescriptionSeverityAffected Software
Jul 5, 2024
News Published
via The Register·12:34 PM
News Published
via The Register·12:36 PM
Jul 8, 2024
News Published
via BleepingComputer·04:26 PM
News Published
via BleepingComputer·04:27 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2023-36664?

CVE-2023-36664 is a vulnerability in Ghostscript that occurs due to a mishandled permission validation for pipe devices.

2

What is the severity of CVE-2023-36664?

CVE-2023-36664 has a severity rating of 8.4, which is considered high.

3

How does CVE-2023-36664 affect Artifex Ghostscript?

CVE-2023-36664 affects Artifex Ghostscript versions up to and including 10.01.2.

4

How does CVE-2023-36664 affect Debian Debian Linux 11.0?

CVE-2023-36664 affects Debian Debian Linux 11.0.

5

How can I fix CVE-2023-36664 in Ghostscript?

To fix CVE-2023-36664 in Ghostscript, update to version 9.54.0-7.el9_0.1 or apply the recommended security patches provided by the vendor or maintainers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203