CVE-2017-8291
CVE-2017-8291 — 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.
Published Updated Sources: NVD, CISA, FIRST EPSS, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed May 24, 2022
EPSS
97%
top of FIRST's scoreset
CVSS base
7.8
high · 2 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade Ghostscript to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
CISA required action
Apply updates per vendor instructions.
Federal deadline Jun 14, 2022 — passed 1,634 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Artifex | ghostscript | n/a | Vulnerable |
| Debian | debian linux | 8.0 | Vulnerable |
| Red Hat | enterprise linux desktop | 6.0 | Vulnerable |
| Red Hat | enterprise linux eus | 7.3 | Vulnerable |
| Red Hat | enterprise linux server aus | 7.3 | Vulnerable |
| Red Hat | enterprise linux server tus | 7.3 | Vulnerable |
| Red Hat | enterprise linux server | 6.0 | Vulnerable |
| Red Hat | enterprise linux workstation | 6.0 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Local
Privileges Req
None
User Interaction
Required
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.8 | CVSS 3.1 | high | 1.8 | 5.9 | NVD, CNA |
| 6.8 | CVSS 2.0 | medium | 8.6 | 6.4 | NVD |
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-704 · Incorrect Type Conversion or Cast
- Other::
CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')
- Read Memory
- Modify Memory
- Execute Unauthorized Code or Commands
- DoS: Crash, Exit, or Restart
Weakness & attack patterns
- CWE-843Type Confusion
Inferred from the weakness class — not observed against this CVE.
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
May 24, 2022
Federal deadline
Jun 14, 2022
passed 1,634 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
20
3 of the 5 sampled are weaponized
Exploit entries
10
Exploit-DB and CTI exploit indexes
Malware
Families a CTI source ties to this CVE. One named, with the total it tracks.
Families tracked
1
Named
Adwind RAT
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /OutputFile.
- Monitor for scanner or exploit-pattern traffic after 30 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- hostnamentsgo-corp.com80
AlienVault OTX Feeds · Jul 4, 2026
- hostnamehesenorm.info81
AlienVault Ransomware-Firehol · Aug 6, 2026
- hostnamekoramate.fun92
SOCRadar BlogTrace Feeds · Aug 6, 2026
- hostnamentsgo.name96
AlienVault OTX Feeds · Jul 1, 2026
- hostnamecasinolegit.fun92
SOCRadar BlogTrace Feeds · Aug 6, 2026
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 7.8 (AV:L)
Jun 17, 2026 · NVD
- 2025
Bulletin released on Mitre.
Jul 28, 2025 · SOCRadar CTI
Bulletin released on NIST.
Jan 23, 2025 · SOCRadar CTI
- 2024
Bulletin released on NIST.
Jul 2, 2024 · SOCRadar CTI
- 2023
CVE is exploited. "Ostorlab/KEV"
Dec 26, 2023 · SOCRadar CTI
CVE is exploited. "Ostorlab/known_exploited_vulnerbilities_detectors"
Dec 10, 2023 · SOCRadar CTI
CVE is exploited. "Threekiii/Awesome-Exploit"
Dec 10, 2023 · SOCRadar CTI
CVE is exploited. "barrracud4/image-upload-exploits"
Dec 10, 2023 · SOCRadar CTI
CVE is exploited. "farisv/PIL-RCE-Ghostscript-CVE-2018-16509"
Dec 10, 2023 · SOCRadar CTI
CVE is exploited. "qazbnm456/awesome-cve-poc"
Dec 10, 2023 · SOCRadar CTI
CVE is exploited. "xbl3/awesome-cve-poc_qazbnm456"
Dec 10, 2023 · SOCRadar CTI
- 2022
Added to CISA KEV catalog
May 24, 2022 · CISA
- 2017
Initial · CVE published
Apr 27, 2017 · NVD
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 9×Github ReposDec 10, 2023 – Dec 3, 2025 · SOCRadar CTI
- 7×SvrsApr 28, 2025 – Dec 15, 2025 · SOCRadar CTI
- 3×ModifiedJul 2, 2024 – Jan 22, 2025 · SOCRadar CTI
References
13 on the record
- openwall.com/lists/oss-security/2017/04/28/2
Mailing List, Patch, Third Party Advisory, NIST, MITRE_REFERENCES
- www.debian.org/security/2017/dsa-3838
Mailing List, Third Party Advisory, Mitre, NIST
- www.securityfocus.com/bid/98476
Broken Link, Third Party Advisory, VDB Entry, NIST, Mitre
- access.redhat.com/errata/RHSA-2017:1230
Third Party Advisory, Mitre, NIST
- bugs.ghostscript.com/show_bug.cgi?id=697808
Issue Tracking, Third Party Advisory, VDB Entry, MITRE_REFERENCES, NIST
- bugzilla.redhat.com/show_bug.cgi?id=1446063
Issue Tracking, Patch, Third Party Advisory, VDB Entry, NIST, MITRE_REFERENCES
- bugzilla.suse.com/show_bug.cgi?id=1036453
Exploit, Issue Tracking, Third Party Advisory, VDB Entry, NIST, MITRE_REFERENCES
- git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d
Broken Link, NIST
Coverage
2 stories from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-32433 Erlang Erlang/OTP SSH Server Missing Authentication for Critical Function VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-24201 Apple Multiple Products WebKit Out-of-Bounds Write VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2022-0543 Debian-specific Redis Server Lua Sandbox Escape VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2012-1723 Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2024-9680 Mozilla Firefox Use-After-Free VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2021-44026 Roundcube Webmail SQL Injection VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Artifexevery CVE for this vendor
- Debianevery CVE for this vendor
- Red Hatevery CVE for this vendor
- ghostscriptevery page on this product
- debian linuxevery page on this product
- May 2022what else CISA listed
- Memory Corruptionsame class
- CWE-843other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2017-8291 is Artifex Ghostscript Type Confusion Vulnerability, a high vulnerability affecting Ghostscript, Debian Linux, Enterprise Linux Desktop, Enterprise Linux Eus, Enterprise Linux Server Aus, Enterprise Linux Server Tus, Enterprise Linux Server, Enterprise Linux Workstation from Artifex, Debian, Redhat. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 30 public PoC repositories reported; 3 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 7.8 describes technical severity, while EPSS 97% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.