cybersecurity Request an audit

Actively exploited vulnerability / CVE-2017-8291

Ghostscript: a tampered document can let an attacker take control of a server

This vulnerability lets an attacker bypass Ghostscript's safety protections and run their own commands on the computer or server that processes a specially prepared document. For your business, that can mean unauthorized access to data, installation of malicious software, or your system being used in further attacks. It is on the lists of vulnerabilities used in real attacks kept by CISA, the US cybersecurity agency, and by ENISA, the EU cybersecurity agency.

Identifier
CVE-2017-8291 · EUVD-2017-17253
Severity
High (7.8/10)
On the CISA list (US)
yes, since 24 May 2022
Deadline given to US federal agencies
14 June 2022
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
97.0% (FIRST's estimate for the next 30 days)

Does it concern you?

Ghostscript is a program that reads and converts PDF and PostScript documents, often working behind other applications such as print servers, websites that create thumbnails or previews, and document management systems. It may be on your company's Linux servers even if nobody uses it directly.

Ghostscript versions older than 9.21 are affected. Ask your IT administrator or hosting provider to check which Ghostscript version is installed on your servers and in applications that process documents.

Affected products and versions

  • Artifex Ghostscript
  • ghostscript: before 9.21

What to do

Update Ghostscript to version 9.21 or later, following the vendor's instructions. Also check applications that bundle Ghostscript, as they may need their own update.

Versions that contain the fix: 9.21.

The official description

The text below is the description from the public database.

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

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.