CVE-2017-8291: Artifex Ghostscript Type Confusion Vulnerability

High severity, CVSS 7.8. Actively exploited: in CISA KEV since 2022-05-24. EPSS: 97% probability of exploitation activity in the next 30 days.

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.

What to do

CISA's required action (US federal agencies, by 2022-06-14): Apply updates per vendor instructions.

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Artifex Ghostscript, before 9.21: fixed in 9.21

Affected products

Published 2017-04-27. Last modified 2026-06-17.