Artifex · Ghostscript · CWE-704 · published 2017-04-27
CVE-2017-8291Artifex Ghostscript Type Confusion Vulnerability
This week Known exploited in the wild.
CVE-2017-8291 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2022-05-24. EPSS estimates a 97% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Ghostscript vulnerability: CVSS 7.8 (v3.1), a successful attack gives total control of the component. Patched packages are out for Debian, Ubuntu and Red Hat Enterprise Linux. US federal agencies must remediate by 2022-06-14. Patch this week.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA required action: Apply updates per vendor instructions. (federal due date 2022-06-14)
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | ghostscript | Fixed in 9.20~dfsg-3.1 |
| 12 bookworm | ghostscript | Fixed in 9.20~dfsg-3.1 | |
| Ubuntu | 16.04 LTS | ghostscript | Fixed in 9.18~dfsg~0-0ubuntu2.4 |
| 14.04 LTS | ghostscript | Fixed in 9.10~dfsg-0ubuntu10.7 | |
| Red Hat Enterprise Linux | RHEL 7 | ghostscript | Fixed in 9.07-20.el7_3.5 RHSA-2017:1230 |
| RHEL 6 | ghostscript | Fixed in 8.70-23.el6_9.2 RHSA-2017:1230 | |
| RHEL 5 | ghostscript | Won’t fix |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
Library & CLI toolArtifex Ghostscript
Type ConfusionCVE-2017-8291
Why: Known exploited in the wild.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2022-05-24 | CISA KEV |
| Ransomware use | Unknown | CISA KEV |
| EPSS (30-day exploitation probability) | 97% (100th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 7.8 (v3.1)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-704: Incorrect Type Conversion or Cast
More from this vendor: all Artifex vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- Product
n/a(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.