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 publicationFirst 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | 41955 | unknown | 14 Nov 2026 |
| Exploit-DB | Ghostscript 9.21 - Type Confusion Arbitrary Command Execution (Metasploit) | 2 May 2017 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Ghostscript Type Confusion Arbitrary Command Execution (exploit/unix/fileformat/ghostscript_type_confusion) | 28 Apr 2017 | 14 Nov 2026 |