PoC Monitor
← All CVEs
CVE-2017-8291published 27 Apr 2017 01:41 UTCData: JSON · API

Artifex Ghostscript

Artifex Ghostscript Type Confusion Vulnerability

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.

First public PoC 1.6 daysafter publication · 28 Apr 2017 · Metasploit
Public PoCs42 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS7.8high · scored by CISA ADP · CWE-843
CISA KEV 24 May 20225.1 years after publication

Timeline

Days relative to CVE publication
t=0+1 y+2 y+3 y+4 y+5 yCVE published27 Apr 2017 · t = 0First public PoC28 Apr 2017 · t+1.6dAdded to CISA KEV24 May 2022 · t+5.1y

First public PoC 1.6 days after publication; added to CISA KEV 5.1 years after publication. First PoC: Metasploit exploit: Ghostscript Type Confusion Arbitrary Command Execution (exploit/unix/fileformat/ghostscript_type_confusion) (Metasploit, 28 Apr 2017).

PoC repositories

Found on GitHub.

2 PoCs · 2 pending

PoCs 2
RepositoryCreatedStarsAssessment
hkcfs/PIL-CVE-2017-8291 13 Jun 2025 +8.1 y 0 PoC via PoC Index
DaniilOrchikov/PIL-CVE-2017-8291 3 Dec 2025 +8.6 y 0 PoC
Pending 2
RepositoryCreatedStarsAssessment
shun1403/CVE-2017-8291 unknown 0 Pending · repository unavailable (HTTP 404)
shun1403/PIL-CVE-2017-8291-study unknown 0 Pending · repository unavailable (HTTP 404)

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
CVE record (tagged exploit)41955unknown14 Nov 2026
Exploit-DBGhostscript 9.21 - Type Confusion Arbitrary Command Execution (Metasploit)2 May 201714 Nov 2026
MetasploitMetasploit exploit: Ghostscript Type Confusion Arbitrary Command Execution (exploit/unix/fileformat/ghostscript_type_confusion)28 Apr 201714 Nov 2026