CVE-2017-8291

Summary

CVECVE-2017-8291
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-04-27 01:59:00 UTC
Updated2023-11-07 02:50:00 UTC
DescriptionArtifex 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.

Risk And Classification

EPSS: 0.928620000 probability, percentile 0.997670000 (date 2026-04-02)

CISA KEV: Listed on 2022-05-24; due 2022-06-14; ransomware use Unknown

Problem Types: CWE-704

CISA Known Exploited Vulnerability

VendorArtifex
ProductGhostscript
NameArtifex Ghostscript Type Confusion Vulnerability
Required ActionApply updates per vendor instructions.
Noteshttps://nvd.nist.gov/vuln/detail/CVE-2017-8291

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Artifex Ghostscript All All All All

References

ReferenceSourceLinkTags
Bug 1446063 – CVE-2017-8291 ghostscript: corruption of operand stack MISC bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory, VDB Entry
oss-security - Re: CVE-2017-8291 ghostscript remote code execution MISC openwall.com Mailing List, Patch, Third Party Advisory
git.ghostscript.com Git - ghostpdl.git/commit CONFIRM git.ghostscript.com Patch, Vendor Advisory
git.ghostscript.com Git - ghostpdl.git/commit git.ghostscript.com
Ghostscript CVE-2017-8291 Multiple Remote Code Execution Vulnerabilities BID www.securityfocus.com
GPL Ghostscript: Multiple vulnerabilities (GLSA 201708-06) — Gentoo security GENTOO security.gentoo.org
Ghostscript 9.21 - Type Confusion Arbitrary Command Execution (Metasploit) EXPLOIT-DB www.exploit-db.com
Red Hat Customer Portal REDHAT access.redhat.com
Bug 697808 – %pipe% security issue MISC bugs.ghostscript.com Issue Tracking, Third Party Advisory, VDB Entry
Bug 1036453 – VUL-0: CVE-2017-8291: ghostscript,ghostscript-library: Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remotecommand execution via a "/Ou... MISC bugzilla.suse.com Exploit, Issue Tracking, Third Party Advisory, VDB Entry
Debian -- Security Information -- DSA-3838-1 ghostscript DEBIAN www.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
CISA Known Exploited Vulnerabilities catalog CISA www.cisa.gov kev

Legacy QID Mappings

  • 378325 Virtuozzo Linux Security Update for ghostscript-devel (VZLSA-2017:1230)
  • 500203 Alpine Linux Security Update for ghostscript
  • 503945 Alpine Linux Security Update for ghostscript
  • 710373 Gentoo Linux GPL Ghostscript Multiple Vulnerabilities (GLSA 201708-06)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report