Vulnerability · CVE-2017-8291
Artifex Ghostscript Type Confusion Vulnerability
Published Apr 26, 2017 · catalog updated Jun 16, 2026 · Artifex Ghostscript
Patch now
CVE-2017-8291 is in the CISA known-exploited catalog, due Jun 14, 2022. Confirm Artifex Ghostscript against the vendor advisory and apply that fix. The CVSS score does not change the priority.
- Severity
- High7.8
- Known exploitation
- CISA KEV and VulnCheck KEV
- EPSS
- 96.97%
- Remediation
- Remediation guidance
- Affected products
- cpe artifex/ghostscript · cpe debian/debian linux · cpe redhat/enterprise linux desktop · cpe redhat/enterprise linux eus · vendor Artifex Ghostscript
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe artifex/ghostscriptversion unspecified
- cpe debian/debian linux8.0
- cpe redhat/enterprise linux desktop6.0
- cpe redhat/enterprise linux desktop7.0
- cpe redhat/enterprise linux eus7.3
- cpe redhat/enterprise linux eus7.4
- cpe redhat/enterprise linux eus7.5
- cpe redhat/enterprise linux eus7.6
- vendor Artifex Ghostscriptversion unspecified
How to fix CVE-2017-8291
Recommended remediation
Apply updates per vendor instructions. CISA due date Jun 14, 2022.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2017-8291 is in the CISA known-exploited catalog, due Jun 14, 2022. Confirm Artifex Ghostscript against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Which versions are affected?
Compare what you have installed with debian/debian linux 8.0; redhat/enterprise linux desktop 6.0; redhat/enterprise linux desktop 7.0; redhat/enterprise linux eus 7.3. Apply updates per vendor instructions.
What should an analyst verify?
CWE-704; CWE-843: Access of Resource Using Incompatible Type (Type Confusion). EPSS 96.97%. The CISA KEV listing is the exploitation evidence. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Apr 26, 2017 · Catalog
Detected
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.
May 24, 2022 · CISA KEV
Known exploited
Apply updates per vendor instructions.
Jun 14, 2022 · CISA KEV
Remediation due
Apply updates per vendor instructions.
Jun 16, 2026 · Catalog
Updated
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.
Sources
- CISA KEVConfirmed exploitationCVE-2017-8291
Artifex Ghostscript allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile.
cisa.gov - CVE.orgVulnerability recordCVE-2017-8291
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2017-8291
30-day exploitation probability 97.0%
first.org - Exploit DatabasePublic exploit reference41955
Public archive entry. The exploit body is not stored here.
exploit-db.com - Metasploit ModulesPublic exploit moduleexploit_unix/fileformat/ghostscript_type_confusion
Public module reference (excellent). Module source is not copied into this catalog.
rapid7.com - NIST NVDVulnerability recordCVE-2017-8291
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.
nvd.nist.gov - VulnCheck KEVConfirmed exploitationCVE-2017-8291
Artifex Ghostscript allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile.
vulncheck.com
References
- Mailing List · openwall.com
- Mailing List · debian.org
- Broken Link · securityfocus.com
- Third Party Advisory · access.redhat.com
- VulnCheck exploitation evidence · asec.ahnlab.com
- VulnCheck exploitation evidence · asec.ahnlab.com
- Issue Tracking · bugs.ghostscript.com
- Issue Tracking · bugzilla.redhat.com
- Exploit · bugzilla.suse.com
- VulnCheck exploitation evidence · docs.google.com
- Broken Link · git.ghostscript.com
- CISA note · nvd.nist.gov
- VulnCheck exploitation evidence · cisa.gov
- VulnCheck exploitation evidence · cve.org
- VulnCheck exploitation evidence · fsec.or.kr
Freshness
Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.