CVE-2017-8291
Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via ...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2017-8291- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-843
- Updated
- 2026-11-02
CVE List
7.8
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.
- Record
CVE-2017-8291- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-843
- Updated
- 2026-11-02
EUVDEUVD-2017-17253
7.8
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.
- Record
EUVD-2017-17253- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-rh88-cwv2-gjxm
7.8
Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via ...
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.
- Record
GHSA-rh88-cwv2-gjxm- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-704, CWE-843
- Updated
- 2026-11-02
CISA KEV No score
Artifex Ghostscript Type Confusion Vulnerability
Artifex Ghostscript allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile.
- Record
CVE-2017-8291- Weakness
- CWE-704
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-8291
7.8
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.
- Record
ALPINE-CVE-2017-8291- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 12 moreShow less
OSVBELL-CVE-2017-8291
7.8
CVE-2017-8291 does not affect BellSoft software
- Record
BELL-CVE-2017-8291- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2017-8291- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-8291
7.8
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.
- Record
DEBIAN-CVE-2017-8291- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2017:1230
7.3
Red Hat Security Advisory: ghostscript security update
- Record
RHSA-2017:1230- CVSS 3.0
- 7.3 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-8291
7.8
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.
- Record
UBUNTU-CVE-2017-8291- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0133 No score
Updated ghostscript packages fix security vulnerability
Various userparams in Ghostscript allow %pipe% in paths, allowing remote shell command execution (CVE-2016-7976).
The .libfile function in Ghostscript doesn't check PermitFileReading array, allowing remote file disclosure (CVE-2016-7977).
Reference leak in the .setdevice function in Ghostscript allows use-after-free and remote code execution (CVE-2016-7978).
Type confusion in the .initialize_dsc_parser function in Ghostscript allows remote code execution (CVE-2016-7979).
The .sethalftone5 function in psi/zht2.c in Ghostscript before 9.21 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted Postscript document that calls .sethalftone5 with an empty operand stack (CVE-2016-8602).
A heap based buffer overflow was found in the ghostscript jbig2_decode_gray_scale_image() function used to decode halftone segments in a JBIG2 image. A document (PostScript or PDF) with an embedded, specially crafted, jbig2 image could trigger a segmentation fault in ghostscript (CVE-2016-9601).
The pdf14_open function in base/gdevp14.c in Ghostscript 9.20 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted file that is mishandled in the color management module (CVE-2016-10217).
The pdf14_pop_transparency_group function in base/gdevp14.c in the PDF Transparency module in Ghostscript 9.20 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted file (CVE-2016-10218).
The intersect function in base/gxfill.c in Ghostscript 9.20 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted file (CVE-2016-10219).
The gs_makewordimagedevice function in base/gsdevmem.c in Ghostscript 9.20 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted file that is mishandled in the PDF Transparency module (CVE-2016-10220).
The mem_get_bits_rectangle function in base/gdevmem.c in Ghostscript 9.20 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted file (CVE-2017-5951).
The mem_get_bits_rectangle function in Ghostscript 9.20 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted PostScript document (CVE-2017-7207).
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 (CVE-2017-8291).
- Record
MGASA-2017-0133- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10783-1 No score
ghostscript-9.54.0-2.2 on GA media
These are all security issues fixed in the ghostscript-9.54.0-2.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10783-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:1138-1 No score
Security update for ghostscript
This update for ghostscript fixes the following security vulnerabilities:
CVE-2017-8291: A remote command execution and a -dSAFER bypass via a crafted .eps document were exploited in the wild. (bsc#1036453)
CVE-2016-9601: An integer overflow in the bundled jbig2dec library could have been misused to cause a Denial-of-Service. (bsc#1018128)
CVE-2016-10220: A NULL pointer dereference in the PDF Transparency module allowed remote attackers to cause a Denial-of-Service. (bsc#1032120)
CVE-2017-5951: A NULL pointer dereference allowed remote attackers to cause a denial of service via a crafted PostScript document. (bsc#1032114)
CVE-2017-7207: A NULL pointer dereference allowed remote attackers to cause a denial of service via a crafted PostScript document. (bsc#1030263)
- Record
SUSE-SU-2017:1138-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:1153-1 No score
Security update for ghostscript-library
This update for ghostscript fixes the following security vulnerability:
CVE-2017-8291: A remote command execution and a -dSAFER bypass via a crafted .eps document were exploited in the wild. (bsc#1036453)
- Record
SUSE-SU-2017:1153-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:1322-1 No score
Security update for ghostscript-library
This update for ghostscript fixes the following security vulnerability:
CVE-2017-8291: A remote command execution and a -dSAFER bypass via a crafted .eps document were exploited in the wild. (bsc#1036453)
This update is a reissue including the SUSE Linux Enterprise 11 SP3 product.
- Record
SUSE-SU-2017:1322-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:1404-1 No score
Security update for ghostscript
This update for ghostscript fixes the following security vulnerabilities:
- CVE-2017-8291: A remote command execution and a -dSAFER bypass via a crafted .eps document were exploited in the wild. (bsc#1036453)
- CVE-2016-9601: An integer overflow in the bundled jbig2dec library could have been misused to cause a Denial-of-Service. (bsc#1018128)
- CVE-2016-10220: A NULL pointer dereference in the PDF Transparency module allowed remote attackers to cause a Denial-of-Service. (bsc#1032120)
- CVE-2017-5951: A NULL pointer dereference allowed remote attackers to cause a denial of service via a crafted PostScript document. (bsc#1032114)
- CVE-2017-7207: A NULL pointer dereference allowed remote attackers to cause a denial of service via a crafted PostScript document. (bsc#1030263)
This is a reissue of the previous update to also include SUSE Linux Enterprise 12 GA LTSS packages.
- Record
SUSE-SU-2017:1404-1- Updated
- 2026-11-02
OSVUSN-3272-1 No score
ghostscript vulnerabilities
It was discovered that Ghostscript improperly handled parameters to the rsdparams and eqproc commands. An attacker could use these to craft a malicious document that could disable -dSAFER protections, thereby allowing the execution of arbitrary code, or cause a denial of service (application crash). (CVE-2017-8291)
Kamil Frankowicz discovered a use-after-free vulnerability in the color management module of Ghostscript. An attacker could use this to cause a denial of service (application crash). (CVE-2016-10217)
Kamil Frankowicz discovered a divide-by-zero error in the scan conversion code in Ghostscript. An attacker could use this to cause a denial of service (application crash). (CVE-2016-10219)
Kamil Frankowicz discovered multiple NULL pointer dereference errors in Ghostscript. An attacker could use these to cause a denial of service (application crash). (CVE-2016-10220, CVE-2017-5951, CVE-2017-7207)
- Record
USN-3272-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ghostscriptAlpine:v3.10 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.11 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.12 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.13 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.14 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.15 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.16 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.17 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.18 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.19 |
before 9.21-r2 | 9.21-r2 |
Show 99 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ghostscriptAlpine:v3.2 |
before 9.21-r0 | 9.21-r0 |
ghostscriptAlpine:v3.20 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.21 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.22 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.23 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.3 |
before 9.21-r0 | 9.21-r0 |
ghostscriptAlpine:v3.4 |
before 9.21-r0 | 9.21-r0 |
ghostscriptAlpine:v3.5 |
before 9.21-r0 | 9.21-r0 |
ghostscriptAlpine:v3.6 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.7 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.8 |
before 9.21-r2 | 9.21-r2 |
ghostscriptAlpine:v3.9 |
before 9.21-r2 | 9.21-r2 |
ghostscriptDebian:12 |
before 9.20~dfsg-3.1 | 9.20~dfsg-3.1 |
ghostscriptDebian:13 |
before 9.20~dfsg-3.1 | 9.20~dfsg-3.1 |
ghostscriptDebian:14 |
before 9.20~dfsg-3.1 | 9.20~dfsg-3.1 |
ghostscriptDebian:7 |
before 9.05~dfsg-6.3+deb7u6, plus listed versions 9.05~dfsg-6.39.05~dfsg-6.3+deb7u19.05~dfsg-6.3+deb7u29.05~dfsg-6.3+deb7u39.05~dfsg-6.3+deb7u49.05~dfsg-6.3+deb7u5 |
9.05~dfsg-6.3+deb7u6 |
ghostscriptDebian:8 From an advisory covering 5 CVEs |
before 9.06~dfsg-2+deb8u5, plus listed versions 9.06~dfsg-29.06~dfsg-2+deb8u19.06~dfsg-2+deb8u29.06~dfsg-2+deb8u39.06~dfsg-2+deb8u4 |
9.06~dfsg-2+deb8u5 |
ghostscriptMageia:5 From an advisory covering 13 CVEs |
before 9.20-1.mga5 | 9.20-1.mga5 |
gutenprintMageia:5 From an advisory covering 13 CVEs |
before 5.2.10-5.1.mga5 | 5.2.10-5.1.mga5 |
libspectreMageia:5 From an advisory covering 13 CVEs |
before 0.2.7-5.1.mga5 | 0.2.7-5.1.mga5 |
ghostscriptRed Hat:enterprise_linux:6::client |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-debuginfoRed Hat:enterprise_linux:6::client |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-develRed Hat:enterprise_linux:6::client |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-docRed Hat:enterprise_linux:6::client |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-gtkRed Hat:enterprise_linux:6::client |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscriptRed Hat:enterprise_linux:6::computenode |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-develRed Hat:enterprise_linux:6::computenode |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-docRed Hat:enterprise_linux:6::computenode |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-gtkRed Hat:enterprise_linux:6::computenode |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscriptRed Hat:enterprise_linux:6::server |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-debuginfoRed Hat:enterprise_linux:6::server |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-develRed Hat:enterprise_linux:6::server |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-docRed Hat:enterprise_linux:6::server |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-gtkRed Hat:enterprise_linux:6::server |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscriptRed Hat:enterprise_linux:6::workstation |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-develRed Hat:enterprise_linux:6::workstation |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-docRed Hat:enterprise_linux:6::workstation |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscript-gtkRed Hat:enterprise_linux:6::workstation |
before 0:8.70-23.el6_9.2 | 0:8.70-23.el6_9.2 |
ghostscriptRed Hat:enterprise_linux:7::client |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-cupsRed Hat:enterprise_linux:7::client |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-debuginfoRed Hat:enterprise_linux:7::client |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-develRed Hat:enterprise_linux:7::client |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-docRed Hat:enterprise_linux:7::client |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-gtkRed Hat:enterprise_linux:7::client |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscriptRed Hat:enterprise_linux:7::computenode |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-cupsRed Hat:enterprise_linux:7::computenode |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-develRed Hat:enterprise_linux:7::computenode |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-docRed Hat:enterprise_linux:7::computenode |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-gtkRed Hat:enterprise_linux:7::computenode |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscriptRed Hat:enterprise_linux:7::server |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-cupsRed Hat:enterprise_linux:7::server |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-debuginfoRed Hat:enterprise_linux:7::server |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-develRed Hat:enterprise_linux:7::server |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-docRed Hat:enterprise_linux:7::server |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-gtkRed Hat:enterprise_linux:7::server |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscriptRed Hat:enterprise_linux:7::workstation |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-cupsRed Hat:enterprise_linux:7::workstation |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-develRed Hat:enterprise_linux:7::workstation |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-docRed Hat:enterprise_linux:7::workstation |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscript-gtkRed Hat:enterprise_linux:7::workstation |
before 0:9.07-20.el7_3.5 | 0:9.07-20.el7_3.5 |
ghostscriptSUSE:Linux Enterprise Desktop 12 SP1 From an advisory covering 5 CVEs |
before 9.15-20.1 | 9.15-20.1 |
ghostscriptSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 5 CVEs |
before 9.15-20.1 | 9.15-20.1 |
ghostscriptSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 5 CVEs |
before 9.15-20.1 | 9.15-20.1 |
ghostscriptSUSE:Linux Enterprise Software Development Kit 12 SP1 From an advisory covering 5 CVEs |
before 9.15-20.1 | 9.15-20.1 |
ghostscriptSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 5 CVEs |
before 9.15-20.1 | 9.15-20.1 |
ghostscriptSUSE:Linux Enterprise Server 12 SP1 From an advisory covering 5 CVEs |
before 9.15-20.1 | 9.15-20.1 |
ghostscriptSUSE:Linux Enterprise Server for SAP Applications 12 SP1 From an advisory covering 5 CVEs |
before 9.15-20.1 | 9.15-20.1 |
ghostscriptSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 5 CVEs |
before 9.15-20.1 | 9.15-20.1 |
ghostscriptSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 5 CVEs |
before 9.15-20.1 | 9.15-20.1 |
ghostscript-librarySUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 8.62-32.44.1 | 8.62-32.44.1 |
ghostscript-librarySUSE:Linux Enterprise Server 11 SP4 |
before 8.62-32.44.1 | 8.62-32.44.1 |
ghostscript-librarySUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 8.62-32.44.1 | 8.62-32.44.1 |
ghostscript-librarySUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 8.62-32.46.1 | 8.62-32.46.1 |
ghostscript-librarySUSE:OpenStack Cloud 5 |
before 8.62-32.46.1 | 8.62-32.46.1 |
ghostscript-librarySUSE:Linux Enterprise Point of Sale 11 SP3 |
before 8.62-32.46.1 | 8.62-32.46.1 |
ghostscript-librarySUSE:Linux Enterprise Server 11 SP3-LTSS |
before 8.62-32.46.1 | 8.62-32.46.1 |
ghostscript-librarySUSE:Linux Enterprise Server 11 SP3-TERADATA |
before 8.62-32.46.1 | 8.62-32.46.1 |
ghostscript-librarySUSE:Linux Enterprise Server 11 SP4 |
before 8.62-32.46.1 | 8.62-32.46.1 |
ghostscript-librarySUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 8.62-32.46.1 | 8.62-32.46.1 |
ghostscriptSUSE:Linux Enterprise Desktop 12 SP1 From an advisory covering 5 CVEs |
before 9.15-22.1 | 9.15-22.1 |
ghostscriptSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 5 CVEs |
before 9.15-22.1 | 9.15-22.1 |
ghostscriptSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 5 CVEs |
before 9.15-22.1 | 9.15-22.1 |
ghostscriptSUSE:Linux Enterprise Server for SAP Applications 12 From an advisory covering 5 CVEs |
before 9.15-22.1 | 9.15-22.1 |
ghostscriptSUSE:Linux Enterprise Software Development Kit 12 SP1 From an advisory covering 5 CVEs |
before 9.15-22.1 | 9.15-22.1 |
ghostscriptSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 5 CVEs |
before 9.15-22.1 | 9.15-22.1 |
ghostscriptSUSE:Linux Enterprise Server 12-LTSS From an advisory covering 5 CVEs |
before 9.15-22.1 | 9.15-22.1 |
ghostscriptSUSE:Linux Enterprise Server 12 SP1 From an advisory covering 5 CVEs |
before 9.15-22.1 | 9.15-22.1 |
ghostscriptSUSE:Linux Enterprise Server for SAP Applications 12 SP1 From an advisory covering 5 CVEs |
before 9.15-22.1 | 9.15-22.1 |
ghostscriptSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 5 CVEs |
before 9.15-22.1 | 9.15-22.1 |
ghostscriptSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 5 CVEs |
before 9.15-22.1 | 9.15-22.1 |
ghostscriptUbuntu:14.04:LTS |
before 9.10~dfsg-0ubuntu10.7, plus listed versions 9.10~dfsg-0ubuntu29.10~dfsg-0ubuntu39.10~dfsg-0ubuntu49.10~dfsg-0ubuntu59.10~dfsg-0ubuntu6 Show 10 moreShow less9.10~dfsg-0ubuntu79.10~dfsg-0ubuntu89.10~dfsg-0ubuntu99.10~dfsg-0ubuntu109.10~dfsg-0ubuntu10.19.10~dfsg-0ubuntu10.29.10~dfsg-0ubuntu10.39.10~dfsg-0ubuntu10.49.10~dfsg-0ubuntu10.59.10~dfsg-0ubuntu10.6 |
9.10~dfsg-0ubuntu10.7 |
ghostscriptUbuntu:16.04:LTS |
before 9.18~dfsg~0-0ubuntu2.4, plus listed versions 9.16~dfsg~0-0ubuntu39.16~dfsg~0-0ubuntu49.18~dfsg~0-0ubuntu19.18~dfsg~0-0ubuntu29.18~dfsg~0-0ubuntu2.29.18~dfsg~0-0ubuntu2.3 |
9.18~dfsg~0-0ubuntu2.4 |
ghostscriptUbuntu:14.04:LTS From an advisory covering 6 CVEs |
before 9.10~dfsg-0ubuntu10.7, plus listed versions 9.10~dfsg-0ubuntu29.10~dfsg-0ubuntu39.10~dfsg-0ubuntu49.10~dfsg-0ubuntu59.10~dfsg-0ubuntu6 Show 10 moreShow less9.10~dfsg-0ubuntu79.10~dfsg-0ubuntu89.10~dfsg-0ubuntu99.10~dfsg-0ubuntu109.10~dfsg-0ubuntu10.19.10~dfsg-0ubuntu10.29.10~dfsg-0ubuntu10.39.10~dfsg-0ubuntu10.49.10~dfsg-0ubuntu10.59.10~dfsg-0ubuntu10.6 |
9.10~dfsg-0ubuntu10.7 |
ghostscriptUbuntu:16.04:LTS From an advisory covering 6 CVEs |
before 9.18~dfsg~0-0ubuntu2.4, plus listed versions 9.16~dfsg~0-0ubuntu39.16~dfsg~0-0ubuntu49.18~dfsg~0-0ubuntu19.18~dfsg~0-0ubuntu29.18~dfsg~0-0ubuntu2.29.18~dfsg~0-0ubuntu2.3 |
9.18~dfsg~0-0ubuntu2.4 |
ghostscriptopenSUSE:Tumbleweed From an advisory covering 44 CVEs |
before 9.54.0-2.2 | 9.54.0-2.2 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Metasploit | Ghostscript Type Confusion Arbitrary Command Execution | 2017-04-27 |
| Exploit-DB | Ghostscript 9.21 - Type Confusion Arbitrary Command Execution (Metasploit) | 2017-05-02 |
| PoC in GitHub | hkcfs/PIL-CVE-2017-8291 | 2025-06-13 |
| PoC in GitHub | DaniilOrchikov/PIL-CVE-2017-8291 | 2025-12-03 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| exploitation, exploits | ||
| first indexed | CVE List, EUVD, Exploit-DB, GitHub Advisories, CISA KEV, Metasploit, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-8291 is a high vulnerability (CVSS 7.8) in Artifex Ghostscript, published April 26, 2017. CISA lists it as known to be exploited, since May 24, 2022. EUVD reports exploitation since May 24, 2022. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 97.0%, the 99th percentile. Fixed in ghostscript 9.21-r2.
References
debian.org/security/2017/dsa-3838
bugzilla.suse.com/show_bug.cgi?id=1036453
access.redhat.com/errata/RHSA-2017:1230
securityfocus.com/bid/98476
exploit-db.com/exploits/41955
openwall.com/lists/oss-security/2017/04/28/2
Show 83 moreShow less
security.gentoo.org/glsa/201708-06
bugzilla.redhat.com/show_bug.cgi?id=1446063
git.ghostscript.com?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d
bugs.ghostscript.com/show_bug.cgi?id=697808
cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8291
nvd.nist.gov/vuln/detail/CVE-2017-8291
git.ghostscript.com?p=ghostpdl.git;a=commit;h=04b37bbce174eed24edec7ad5b920eb93db4d47d
github.com/advisories/GHSA-rh88-cwv2-gjxm
security.alpinelinux.org/vuln/CVE-2017-8291
docs.bell-sw.com/security/cves/CVE-2017-8291
security-tracker.debian.org/tracker/CVE-2017-8291
advisories.mageia.org/MGASA-2017-0133.html
bugs.mageia.org/show_bug.cgi?id=19542
openwall.com/lists/oss-security/2016/10/05/15
lists.fedoraproject.org/archives/list/[email protected]/thread/IJ3D6O5XHLO4UJVJETVCWPIWWWV6LQUE
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_1230.json
access.redhat.com/security/cve/CVE-2017-8291
cve.org/CVERecord?id=CVE-2017-8291
cisa.gov/known-exploited-vulnerabilities-catalog
suse.com/support/update/announcement/2017/suse-su-20171138-1
bugzilla.suse.com/1018128
bugzilla.suse.com/1030263
bugzilla.suse.com/1032114
bugzilla.suse.com/1032120
bugzilla.suse.com/1036453
suse.com/security/cve/CVE-2016-10220
suse.com/security/cve/CVE-2016-9601
suse.com/security/cve/CVE-2017-5951
suse.com/security/cve/CVE-2017-7207
suse.com/security/cve/CVE-2017-8291
suse.com/support/update/announcement/2017/suse-su-20171153-1
suse.com/support/update/announcement/2017/suse-su-20171322-1
suse.com/support/update/announcement/2017/suse-su-20171404-1
ubuntu.com/security/CVE-2017-8291
bugs.ghostscript.com/show_bug.cgi?id=697799
openwall.com/lists/oss-security/2017/04/27/10
ubuntu.com/security/notices/USN-3272-1
ubuntu.com/security/CVE-2016-10217
ubuntu.com/security/CVE-2016-10219
ubuntu.com/security/CVE-2016-10220
ubuntu.com/security/CVE-2017-5951
ubuntu.com/security/CVE-2017-7207
suse.com/security/cve/CVE-2016-10217
suse.com/security/cve/CVE-2016-10218
suse.com/security/cve/CVE-2016-10219
suse.com/security/cve/CVE-2016-10317
suse.com/security/cve/CVE-2017-9216
suse.com/security/cve/CVE-2018-10194
suse.com/security/cve/CVE-2018-15908
suse.com/security/cve/CVE-2018-15909
suse.com/security/cve/CVE-2018-15910
suse.com/security/cve/CVE-2018-15911
suse.com/security/cve/CVE-2018-16509
suse.com/security/cve/CVE-2018-16510
suse.com/security/cve/CVE-2018-16511
suse.com/security/cve/CVE-2018-16513
suse.com/security/cve/CVE-2018-16539
suse.com/security/cve/CVE-2018-16540
suse.com/security/cve/CVE-2018-16541
suse.com/security/cve/CVE-2018-16542
suse.com/security/cve/CVE-2018-16543
suse.com/security/cve/CVE-2018-16585
suse.com/security/cve/CVE-2018-16802
suse.com/security/cve/CVE-2018-17183
suse.com/security/cve/CVE-2018-17961
suse.com/security/cve/CVE-2018-18073
suse.com/security/cve/CVE-2018-18284
suse.com/security/cve/CVE-2018-19409
suse.com/security/cve/CVE-2018-19475
suse.com/security/cve/CVE-2018-19476
suse.com/security/cve/CVE-2018-19477
suse.com/security/cve/CVE-2018-6616
suse.com/security/cve/CVE-2019-10216
suse.com/security/cve/CVE-2019-12973
suse.com/security/cve/CVE-2019-14811
suse.com/security/cve/CVE-2019-14817
suse.com/security/cve/CVE-2019-3835
suse.com/security/cve/CVE-2019-3838
suse.com/security/cve/CVE-2019-6116
suse.com/security/cve/CVE-2020-12268
suse.com/security/cve/CVE-2020-15900
suse.com/security/cve/CVE-2021-3781