CVE-2017-8291
published high CVSS 3.1 · 7.8ghostscript: corruption of operand stack
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Debian | jessie | ghostscript | Advisory build | 9.06~dfsg-2+deb8u5 | DSA-3838-1 |
| Oracle Linux | 6 | ghostscripti686 | Advisory build | 0:8.70-23.el6_9.2 | ELSA-2017-1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscripti686 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Alpine Linux | v3.10 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.11 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.12 | ghostscript | Fixed | 9.21-r2 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.13 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.14 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.15 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.16 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.17 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.18 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.19 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.2 | ghostscript | Fixed | 9.21-r0 | Package fix record |
| Alpine Linux | v3.20 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.21 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.22 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.23 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.24 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.3 | ghostscript | Fixed | 9.21-r0 | Package fix record |
| Alpine Linux | v3.4 | ghostscript | Fixed | 9.21-r0 | Package fix record |
| Alpine Linux | v3.5 | ghostscript | Fixed | 9.21-r0 | Package fix record |
| Alpine Linux | v3.6 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.7 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.8 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Alpine Linux | v3.9 | ghostscript | Fixed | 9.21-r2 | Package fix record |
| Debian | wheezy | ghostscript | Advisory build | 9.05~dfsg-6.3+deb7u6 | DLA-932-1 |
| Oracle Linux | 6 | ghostscriptsparc64 | Advisory build | 0:8.70-23.el6_9.2 | ELSA-2017-1230 |
| Oracle Linux | 6 | ghostscriptx86_64 | Advisory build | 0:8.70-23.el6_9.2 | ELSA-2017-1230 |
| Oracle Linux | 6 | ghostscript-develi686 | Advisory build | 0:8.70-23.el6_9.2 | ELSA-2017-1230 |
| Oracle Linux | 6 | ghostscript-develsparc64 | Advisory build | 0:8.70-23.el6_9.2 | ELSA-2017-1230 |
| Oracle Linux | 6 | ghostscript-develx86_64 | Advisory build | 0:8.70-23.el6_9.2 | ELSA-2017-1230 |
| Oracle Linux | 6 | ghostscript-doci686 | Advisory build | 0:8.70-23.el6_9.2 | ELSA-2017-1230 |
| Oracle Linux | 6 | ghostscript-docsparc64 | Advisory build | 0:8.70-23.el6_9.2 | ELSA-2017-1230 |
| Oracle Linux | 6 | ghostscript-docx86_64 | Advisory build | 0:8.70-23.el6_9.2 | ELSA-2017-1230 |
| Oracle Linux | 6 | ghostscript-gtki686 | Advisory build | 0:8.70-23.el6_9.2 | ELSA-2017-1230 |
| Oracle Linux | 6 | ghostscript-gtksparc64 | Advisory build | 0:8.70-23.el6_9.2 | ELSA-2017-1230 |
| Oracle Linux | 6 | ghostscript-gtkx86_64 | Advisory build | 0:8.70-23.el6_9.2 | ELSA-2017-1230 |
| Oracle Linux | 7 | ghostscriptx86_64 | Advisory build | 0:9.07-20.el7_3.5 | ELSA-2017-1230 |
| Oracle Linux | 7 | ghostscript-cupsx86_64 | Advisory build | 0:9.07-20.el7_3.5 | ELSA-2017-1230 |
| Oracle Linux | 7 | ghostscript-develx86_64 | Advisory build | 0:9.07-20.el7_3.5 | ELSA-2017-1230 |
| Oracle Linux | 7 | ghostscript-docx86_64 | Advisory build | 0:9.07-20.el7_3.5 | ELSA-2017-1230 |
| Oracle Linux | 7 | ghostscript-gtkx86_64 | Advisory build | 0:9.07-20.el7_3.5 | ELSA-2017-1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscriptppc | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscriptppc64 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscripts390 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscripts390x | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscriptsrc | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscriptx86_64 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-debuginfoi686 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-debuginfoppc | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-debuginfoppc64 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-debuginfos390 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-debuginfos390x | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-debuginfox86_64 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-develi686 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-develppc | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-develppc64 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-devels390 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-devels390x | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-develx86_64 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-doci686 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-docppc64 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-docs390x | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-docx86_64 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-gtki686 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-gtkppc64 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-gtks390x | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-6 | ghostscript-gtkx86_64 | Advisory build | 8.70-23.el6_9.2 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptaarch64 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscripti686 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptppc | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptppc64 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptppc64le | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscripts390 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscripts390x | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptsrc | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscriptx86_64 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsaarch64 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsppc64 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsppc64le | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupss390x | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-cupsx86_64 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoaarch64 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoi686 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoppc | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoppc64 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfoppc64le | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfos390 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfos390x | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-debuginfox86_64 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develaarch64 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develi686 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develppc | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develppc64 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develppc64le | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-devels390 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-devels390x | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
| Red Hat Enterprise Linux | RHEL-7 | ghostscript-develx86_64 | Advisory build | 9.07-20.el7_3.5 | RHSA-2017:1230 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-843 CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
References
11- http://openwall.com/lists/oss-security/2017/04/28/2
- DSA-3838 http://www.debian.org/security/2017/dsa-3838
- 98476 http://www.securityfocus.com/bid/98476
- RHSA-2017:1230 https://access.redhat.com/errata/RHSA-2017:1230
- https://bugs.ghostscript.com/show_bug.cgi?id=697808
- https://bugzilla.redhat.com/show_bug.cgi?id=1446063
- https://bugzilla.suse.com/show_bug.cgi?id=1036453
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d
- GLSA-201708-06 https://security.gentoo.org/glsa/201708-06
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8291
- 41955 https://www.exploit-db.com/exploits/41955/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3f615affa3f3361b4a7ac68c293b3021e1d78a99ebca2139374dd0437b5b466e
- Ingested
- 23 Sep 2026, 07:43:00 UTC
- Source record
- Official CVE record