High severity · published Apr 27, 2017
CVE-2017-8291
Artifex Ghostscript Type Confusion Vulnerability
In wildKEV
7.8
CVSS
97%
EPSS
Yes
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)97.0% · higher than 100% of CVEs
Exploited in the wildYes
CISA KEVListed May 24, 2022
Federal remediation dueJun 14, 2022
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
8.0 · source: NVD
EL
Enterprise Linux Desktop · Redhat
6.0; 7.0 · source: NVD
EL
Enterprise Linux Eus · Redhat
7.3; 7.4; 7.5; 7.6; 7.7 · source: NVD
EL
Enterprise Linux Server · Redhat
6.0; 7.0 · source: NVD
EL
Enterprise Linux Server Aus · Redhat
7.3; 7.4; 7.6; 7.7 · source: NVD
EL
Enterprise Linux Server Tus · Redhat
7.3; 7.6; 7.7 · source: NVD
EL
Enterprise Linux Workstation · Redhat
6.0; 7.0 · source: NVD
GH
Ghostscript · Artifex
before 9.21 · source: NVD, KEV
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-8291
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-8291
CISA KEV catalogue
https://www.cisa.gov/known-exploited-vulnerabilities-catalog
vendor-advisory
http://www.debian.org/security/2017/dsa-3838
x_refsource_MISC
https://bugzilla.suse.com/show_bug.cgi?id=1036453
vendor-advisory
https://access.redhat.com/errata/RHSA-2017:1230
vdb-entry
http://www.securityfocus.com/bid/98476
exploit
https://www.exploit-db.com/exploits/41955/
x_refsource_MISC
http://openwall.com/lists/oss-security/2017/04/28/2
More from Ghostscript
9.9
CVE-2021-3781
A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted pipe command
9.8
CVE-2025-27837
An issue was discovered in Artifex Ghostscript before 10.05.0
9.8
CVE-2025-27836
An issue was discovered in Artifex Ghostscript before 10.05.0
9.8
CVE-2025-27832
An issue was discovered in Artifex Ghostscript before 10.05.0
9.8
CVE-2025-27831
An issue was discovered in Artifex Ghostscript before 10.05.0
