CVE-2017-8291
Artifex Ghostscript Type Confusion Vulnerability
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 14 June 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 96.97% probability · 100th percentile
- Public exploits
- 1 in Exploit-DB · verified · first 2 May 2017
- CISA KEV
- Listed 24 May 2022 · due 14 June 2022
- Weakness
- CWE-843
- Affected
- artifex/ghostscript · debian/debian linux · redhat/enterprise linux desktop · redhat/enterprise linux eus · redhat/enterprise linux server · redhat/enterprise linux server aus · redhat/enterprise linux server tus · redhat/enterprise linux workstation
- Source
- cve@mitre.org
EPSS 97.0% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
CISA notes
Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2017-8291
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://openwall.com/lists/oss-security/2017/04/28/2Mailing List, Patch, Third Party Advisory
- http://www.debian.org/security/2017/dsa-3838Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/98476Broken Link, Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:1230Third Party Advisory
- https://bugs.ghostscript.com/show_bug.cgi?id=697808Issue Tracking, Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1446063Issue Tracking, Patch, Third Party Advisory, VDB Entry
- https://bugzilla.suse.com/show_bug.cgi?id=1036453Exploit, Issue Tracking, Third Party Advisory, VDB Entry
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47dBroken Link
- https://security.gentoo.org/glsa/201708-06Third Party Advisory
- https://www.exploit-db.com/exploits/41955/Exploit, Third Party Advisory, VDB Entry
- http://openwall.com/lists/oss-security/2017/04/28/2Mailing List, Patch, Third Party Advisory
- http://www.debian.org/security/2017/dsa-3838Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/98476Broken Link, Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:1230Third Party Advisory
- https://bugs.ghostscript.com/show_bug.cgi?id=697808Issue Tracking, Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1446063Issue Tracking, Patch, Third Party Advisory, VDB Entry
- https://bugzilla.suse.com/show_bug.cgi?id=1036453Exploit, Issue Tracking, Third Party Advisory, VDB Entry
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47dBroken Link
- https://security.gentoo.org/glsa/201708-06Third Party Advisory
- https://www.exploit-db.com/exploits/41955/Exploit, Third Party Advisory, VDB Entry
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8291US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.