7.8

CVE-2017-8291: Artifex Ghostscript Type Confusion Vulnerability

KEV
Analyzed
AliasesALPINE-CVE-2017-8291SUSE-SU-2017:1153-1SUSE-SU-2017:1322-1
Published 27-04-2017Last modified 21-10-2025

Vulnerability summary

CVE-2017-8291 is a high (CVSS 7.8) vulnerability in Artifex Ghostscript. It is known to be exploited: CISA lists it, first on 24-05-2022. EPSS estimates a 96.97% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities. 3 public exploits are recorded.

Priority
Act nowlisted as exploited

Listed as exploited by CISA (24-05-2022)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
96.97%
0%100%
Critical · 0.00 pp in 30 days
KEVExploited in the wildCritical · listed in 1 catalog
RansomwareNot flaggedNo ransomware use recorded.
Public exploits3reference, exploit-database, metasploit

Advisory lineage

Upstream 0 · Downstream 6 · Related 4

Timeline

  1. 27-04-2017
    PublishedVulnerability first disclosed.
  2. 24-05-2022
    Added to CISA KEVExploitedArtifex Ghostscript Type Confusion Vulnerability
  3. 14-06-2022
    CISA remediation dueDeadline passedApply updates per vendor instructions.
  4. 21-10-2025
    Last modifiedVulnerability information updated.

Description

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 program, as exploited in the wild in April 2017.

CVSS metrics

8 scores · 6 sources · 3 versions

EPSS trend

Probability

96.97%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

No change 0.00 pp

From 96.97% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
24-05-2022
Federal due date
14-06-2022
ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

CISA required action

Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2017-8291

Public exploits

3 found
  • referenceUnverified

    Exploit Reference (bugzilla.suse.com)

    Maturity: unknown

  • exploit-databaselocallinuxVerified

    Ghostscript 9.21 - Type Confusion Arbitrary Command Execution (Metasploit)

    Maturity: weaponized

  • MetasploitMetasploitremoteVerified

    Ghostscript Type Confusion Arbitrary Command Execution

    exploit/unix/fileformat/ghostscript_type_confusion

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat12 products
Suse7 products
  • ghostscript-library&distro=SUSE Linux Enterprise Point of Sale 11 SP3< 8.62-32.46.1
  • ghostscript-library&distro=SUSE Linux Enterprise Server 11 SP3-LTSS< 8.62-32.46.1
  • ghostscript-library&distro=SUSE Linux Enterprise Server 11 SP3-TERADATA< 8.62-32.46.1
  • ghostscript-library&distro=SUSE Linux Enterprise Server 11 SP4< 8.62-32.44.1 | < 8.62-32.46.1
  • ghostscript-library&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4< 8.62-32.44.1 | < 8.62-32.46.1
Debian2 products
  • ghostscript< 9.20~dfsg-3.1 | < 9.05~dfsg-6.3+deb7u6
  • debian_linuxEOL8.0
Alpine1 product
  • ghostscript< 9.21-r2 | < 9.21-r0
Artifex1 product
Ubuntu1 product
  • ghostscript< 9.10~dfsg-0ubuntu10.7 | < 9.18~dfsg~0-0ubuntu2.4

6 vendors · 24 products

References

27 links
Show all 27 references