CVE & CISA-KEV Catalog

CVE-2017-8291

HIGHCISA KEVEPSS 100th pctl
7.8
CVSS v3
NVD

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.

How to fix

Remediation Available
ghostscriptDebian
Fixed in:9.20~dfsg-3.1CVE-2017-8291
Fixed in:9.20~dfsg-3.1CVE-2017-8291
Fixed in:9.20~dfsg-3.1CVE-2017-8291
Fixed in:9.20~dfsg-3.1CVE-2017-8291
ghostscriptUbuntu
Fixed in:9.10~dfsg-0ubuntu10.7USN-3272-1
Fixed in:9.18~dfsg~0-0ubuntu2.4USN-3272-1
ghostscript-xUbuntu
Fixed in:9.10~dfsg-0ubuntu10.7USN-3272-1
Fixed in:9.18~dfsg~0-0ubuntu2.4USN-3272-1
libgs9Ubuntu
Fixed in:9.10~dfsg-0ubuntu10.7USN-3272-1
Fixed in:9.18~dfsg~0-0ubuntu2.4USN-3272-1
libgs9-commonUbuntu
Fixed in:9.10~dfsg-0ubuntu10.7USN-3272-1
Fixed in:9.18~dfsg~0-0ubuntu2.4USN-3272-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

96.14%probability of exploitation in 30 days
100thpercentile

Very high risk: more likely to be exploited than 100% of all known CVEs.

Known Exploited Vulnerability (CISA KEV)

Artifex Ghostscript Type Confusion Vulnerability

Artifex Ghostscript allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile.

Apply updates per vendor instructions.

Remediation due: 2022-06-14

References

Related Vulnerabilities

Other CWE-843 (Type Confusion) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2012-0507Critical9.898%KEV + Ransom-
CVE-2011-0611High8.894%KEVFix
CVE-2019-0752High7.582%KEV + Ransom-
CVE-2017-0037High8.180%KEV-
CVE-2016-7201High8.880%KEV-
CVE-2020-6418High8.879%KEVFix

Common questions

How do I fix CVE-2017-8291?

Published advisories record a fix for 5 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2017-8291 being actively exploited?

Yes. CVE-2017-8291 is listed in the CISA Known Exploited Vulnerabilities catalog, which means exploitation has been observed in the wild. US federal agencies were required to remediate it by 2022-06-14. Treat it as a priority whatever its CVSS score says.

How severe is CVE-2017-8291?

CVE-2017-8291 has a CVSS v3 base score of 7.8, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2017-8291 affect?

Published advisories record a fix for ghostscript (Debian), ghostscript (Ubuntu), ghostscript-x (Ubuntu), libgs9 (Ubuntu), and 1 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2017-8291
CVE-2017-8291 severity badge

Markdown

[![CVE-2017-8291](https://tridentstack.com/cve/badge/CVE-2017-8291.svg)](https://tridentstack.com/cve/CVE-2017-8291)

HTML

<a href="https://tridentstack.com/cve/CVE-2017-8291"><img src="https://tridentstack.com/cve/badge/CVE-2017-8291.svg" alt="CVE-2017-8291"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-21.