CISA list

As of , CVE-2017-8291 in Artifex Ghostscript is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

CVE-2017-8291

Artifex Ghostscript: Type Confusion. Exploited, and in our Patch this week group.

Our patch-first group

Patch this week

  • Metasploit module
  • EPSS 0.97
  • Verified Exploit-DB entry

CISA's required action

Apply updates per vendor instructions.

Patch infofixed versions and vendor advice

What to install

  • Affects Artifex Ghostscript.

The record's list of affected products gives no versions.

EPSS score
0.97
Higher than 99% of the CVEs EPSS scores.

EPSS estimates the chance of exploitation activity in the next 30 days.

Exploited
Yes CISA listed it on 24 May 2022
US federal deadline
14 June 2022 21 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS when listed
0.91 on 24 May 2022 EPSS on the day CISA listed it.
Public exploit
1 Metasploit module and 1 Exploit-DB entry (1 verified)

Since listing

EPSS since listing

0.000.501.000.50: EPSS line for Patch this weekListed by CISAEPSS model v2023.03.01EPSS model v2025.03.14EPSS model v2026.06.1520232024202520260.000.501.00Listed by CISAEPSS model v2023.03.01EPSS model v2025.03.14EPSS model v2026.06.1520232025

EPSS for CVE-2017-8291 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.

Show the numbers
FromEPSS
0.91
0.20
0.29
0.31
0.30
0.32
0.45
0.43
0.50
0.25
0.49
0.52
0.62
0.57
0.48
0.92
0.93
0.92
0.93
0.97
0.96
0.97

Timeline

What happened when

  1. The CVE record was published.
  2. Exploit-DB published an exploit (EDB-ID 41955).
  3. CISA added it to its list of exploited vulnerabilities.
  4. The US federal deadline to fix it.

CISA's required action

What CISA says to do

Apply updates per vendor instructions.

Read further: CISA's catalog

The flaw

What the flaw is

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

CISA's 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.

The CVE record's description, from mitre

CVE published
27 April 2017
Assigned by
mitre
CVSS
7.8 High (CVSS 3.1, from CISA-ADP)
CWE-843
Access of Resource Using Incompatible Type
CWE-704
Incorrect Type Conversion or Cast
CISA SSVC, exploitation
active
CISA SSVC, automatable
no
CISA SSVC, technical impact
total

Public exploits

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Metasploit
Ghostscript Type Confusion Arbitrary Command Execution
exploit module, rank excellent
Exploit-DB
Ghostscript 9.21 - Type Confusion Arbitrary Command Execution (Metasploit)
EDB-ID 41955, verified by Exploit-DB, 2 May 2017
Sources
  • CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
  • CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
  • EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)