Ghostscript vulnerabilitiesAnd the versions its exploited flaws hit.

Product1 known exploited268 versions
The short answer

Ghostscript is made by Artifex. We track 126 published vulnerabilities listed under that exact name, across 268 versions. 1 of them is on the list of flaws known to be exploited, the newest added on 24 May 2022. Artifex lists newer releases under their own names, such as Ghostscript Ghostxps, so check those pages too.

Check your version

The most recent Ghostscript flaw added to the known-exploited list is CVE-2017-8291, on 24 May 2022. We keep watching the known-exploited list.

Other names

Is Ghostscript listed under other names? Yes.

Artifex also lists Ghostscript under more specific names, such as Ghostscript Ghostxps and Ghostscript Fonts. Flaws listed only under those names are counted on their own pages, not here. If you run one of these, open its page for its own exploited flaws.

Versions

Which versions of Ghostscript do the exploited flaws hit?

Each exploited flaw lists the versions it affects, usually as ranges. "before 9.21" means every version up to, but not including, 9.21. Find your version, then patch.

  • CVE-2017-8291Exploited list, 24 May 2022

    Artifex Ghostscript Type Confusion Vulnerability

    before 9.21
Known exploited

Which Ghostscript vulnerabilities are being exploited?

1 flaw is on the government list of vulnerabilities known to be exploited. These are the ones criminals are using now, so they go first, whatever their severity score says.

  1. 7.8
    CVE-2017-8291HighKnown exploited
    Artifex Ghostscript Type Confusion Vulnerability

    Artifex Ghostscript allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile.

    Chance of use97%Known exploited since24 May 2022
Exploit likelihood

Which Ghostscript flaws are most likely to be used?

Ranked by the latest exploit-likelihood forecast: the chance each flaw is used in an attack in the next 30 days. A high severity score on its own doesn't tell you that. Flaws shared by many other makers' products are left out.

50% or more10% to 49%Under 10%
  1. 97%
    CVE-2017-8291HighKnown exploited

    Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile (%pipe%" substring in a crafted .eps document that is an input to the gs...

    CVSS7.8Published27 Apr 2017
  2. 92%

    An issue was discovered in Artifex Ghostscript before 9.24.

    CVSS7.8Published5 Sep 2018
  3. 84%

    A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted pipe command.

    CVSS9.9Published16 Feb 2022
  4. 42%

    In Artifex Ghostscript through 9.26, ephemeral or transient procedures can allow access to system operators, leading to remote code execution.

    CVSS7.8Published21 Mar 2019
  5. 28%

    Artifex Ghostscript before 10.03.1 allows memory corruption, and SAFER sandbox bypass, via format string injection with a uniprint device.

    CVSS6.3Published3 Jul 2024
  6. 23%

    The PS Interpreter in Ghostscript 9.18 and 9.20 allows remote attackers to execute arbitrary code via crafted userparams.

    CVSS8.8Published7 Aug 2017
  7. 16%

    Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection mechanism via vectors involving the 1Policy operator.

    CVSS8.6Published19 Oct 2018
  8. 11%

    A flaw was found in ghostscript, versions 9.x before 9.50, in the setsystemparams procedure where it did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions.

    CVSS9.8Published6 Sep 2019
  9. 10.0%

    Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection mechanism via vectors involving errorhandler setup.

    CVSS8.6Published15 Oct 2018
  10. 9.5%

    psi/zdevice2.c in Artifex Ghostscript before 9.26 allows remote attackers to bypass intended access restrictions because available stack space is not checked when the device remains the same.

    CVSS7.8Published23 Nov 2018
Precursor Intelligence

Running Ghostscript? We'll keep checking.

Looking flaws up one at a time doesn't scale. Tell us what you run once, and we tell you which flaws matter to you, in what order, and keep watching for new ones.

  1. Tell us what you runPick your software from a list, or let us work it out from your website.
  2. We match it to every flawOver 400,000 published flaws, checked against your list.
  3. Ranked by real-world riskA 0 to 100 score, led by evidence criminals are using it.
  4. Told as soon as we knowAn alert by email, in the app or by webhook to your own tools.

Free plan, no card needed. Nothing to install.

FAQ

Common questions, answered plainly.

Something else? Talk to the team →

We track 126 published vulnerabilities listed under the name Ghostscript, across 268 versions. The most recent Ghostscript flaw added to the known-exploited list is CVE-2017-8291, on 24 May 2022.

1 is on the list of flaws known to be exploited. The most recently added is CVE-2017-8291.

Artifex also lists Ghostscript under more specific names, such as Ghostscript Ghostxps and Ghostscript Fonts. Flaws listed only under those names are counted on their own pages, not here. Open the release you run to see its own list.

Each flaw names its own versions, usually as ranges. The newest, CVE-2017-8291, affects before 9.21. The versions for every exploited flaw are listed on this page.

Create a Precursor Intelligence account and track Ghostscript. We match it against every published flaw, give each one a risk score from 0 to 100 and keep watching, so you hear about new ones as soon as we know, by email, in the app or by webhook.