Skip to main content
VulnerabilityPublished Updated

CVE-2024-33869: ghostscript · Path Traversal

Affects ghostscriptSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium : upgrade to 10.03.1 when convenient.

Data as of 26 Oct 2026, 12:29 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 10.03.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade the Red Hat ghostscript package to 10.03.1.

Affected software

ProductAffectedFixed in
Red Hatghostscriptpkg:rpm/ghostscriptOther threatsAffected
  • <10.03.1
Fixed in
  • 10.03.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-33869, organizations should: 1) Upgrade Ghostscript to version 10.03.1 or later once available, as the fix addresses the path traversal and command execution flaw. 2) Until patches are applied, restrict processing of untrusted PostScript files by implementing strict input validation and sandboxing of Ghostscript processes to limit command execution capabilities. 3) Employ application whitelisting and least privilege principles to reduce the impact of potential command execution. 4) Monitor logs for unusual Ghostscript activity or unexpected command executions. 5) If possible, disable or restrict the use of %pipe% functionality in Ghostscript configurations to prevent command injection vectors. 6) Educate users about the risks of opening untrusted PostScript documents and enforce policies to avoid processing files from unknown sources. 7) Consider deploying Ghostscript in isolated environments or containers to contain potential exploitation effects.

Description

An issue was discovered in Artifex Ghostscript before 10.03.1. Path traversal and command execution can occur (via a crafted PostScript document) because of path reduction in base/gpmisc.c. For example, restrictions on use of %pipe% can be bypassed via the aa/../%pipe%command# output filename.

References

Community reviews

Loading reviews…