CVE-2017-8291
CVE-2017-8291 affects Artifex Ghostscript (CVSS 7.8, High).
Exploited in the wild. In CISA KEV since 2022‑05‑24. Fixed in 9.21.
Public exploit: 3 sourcesFix9.21Upgrade to this build
e.g. OID 1.3.6.1.4.1.25623.1.0.703838
What to do
Find your product and version, then upgrade to the build on the right.
- Artifex GhostscriptAffected: < 9.21Upgrade to: 9.21Stated by: NVD
- Red Hat Inc. Red Hat Enterprise LinuxAffected: 6Upgrade to: not statedStated by: BDU
- Open-source community Debian GNU/LinuxAffected: 8Upgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
Coverage timeline
1 publisherAdded to CISA KEV catalog
Sourced from public security reporting — each date is when it was published, not when it happened.
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Listed as exploited in the wild since 2022-05-24.
US federal agencies must remediate by 2022-06-14.
Apply updates per vendor instructions.
- Public exploits
3 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
97% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
A public exploit existed 46 days before the patch.
- OpenVAS check added
- Patch availablerecord updated
- Public exploit / PoCsource: exploit-db
- Added to CISA KEV
- Publishedweakness classified, att&ck mapped
Affected products
And 7 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored 7.8 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction RequiredA user must click a link, open a file, or perform some action
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Initial AccessT1190Exploit Public-Facing Applicationhigh confidence
- Privilege EscalationT1068Exploitation for Privilege Escalationhigh confidence
Sources
References in the record
- openwall.com/lists/oss-security/2017/04/28/2
- debian.org/security/2017/dsa-3838
- securityfocus.com/bid/98476
And 20 more references. See all after sign-in
Questions about CVE-2017-8291
- Is CVE-2017-8291 being exploited?
- Yes. CVE-2017-8291 is in CISA's Known Exploited Vulnerabilities catalog since 2022-05-24, which means attackers are using it in the wild.
- Which versions are affected by CVE-2017-8291?
- Ghostscript: < 9.21. Red Hat Enterprise Linux: 6. Debian GNU/Linux: 8.
- How do I fix or mitigate CVE-2017-8291?
- Upgrade to 9.21 or later. The advisory is on openwall.com.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Ghostscript, not every advisory. This one: actively exploited.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI