CVE-2018-17961 in Artifex Ghostscript and 8 more products
Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection mechanism via vectors involving errorhandler setup. NOTE: this issue exists because of an incomplete fix for CVE-2018-17183.
Affects 9 products from 4 vendors. Facts below cite their sources.
Requires local access, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Artifex | Ghostscript | < 9.25 |
| Canonical | Ubuntu Linux | 14.04 16.04 18.04 18.10 |
| Debian | Debian Linux | 8.0 9.0 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| Redhat | Enterprise Linux Server Aus | 7.6 |
| Redhat | Enterprise Linux Server Eus | 7.6 |
| Redhat | Enterprise Linux Server Tus | 7.6 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Desktop | 7.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Artifex Ghostscript 9.25 and earlier allows attackers to bypass a sandbox protection mechanism via vectors involving errorhandler setup. NOTE: this issue exists because of an incomplete fix for CVE-2018-17183.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-17961 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-158505-H |
| CVSS vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| Published | 2018-10-15 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-209: CWE-209
Related attack patterns (CAPEC)
CAPEC-7 Blind SQL Injection via CWE-209
CAPEC-215 Fuzzing for application mapping via CWE-209
CAPEC-463 Padding Oracle Crypto Attack via CWE-209
CAPEC-54 Query System for Information via CWE-209
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Artifex Ghostscript 9.25 and earlier versions are vulnerable to a sandbox bypass due to an incomplete fix for CVE-2018-17183, allowing attackers to execute arbitrary code with the privileges of the Ghostscript process.
The vulnerability arises from improper handling of the errorhandler setup, which can be exploited by an attacker to bypass the sandbox protection mechanism. This can be achieved through specific error handling vectors that were not fully addressed in the previous patch.
Questions
What is CVE-2018-17961?
Artifex Ghostscript 9.25 and earlier versions are vulnerable to a sandbox bypass due to an incomplete fix for CVE-2018-17183, allowing attackers to execute arbitrary code with the privileges of the Ghostscript process.
What is the CVSS score for CVE-2018-17961?
CVE-2018-17961 has CVSS 8.6 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H. EPSS: 10.0%.
Is CVE-2018-17961 actively exploited?
Public exploit available for CVE-2018-17961. Exploitation risk elevated.
How do I remediate CVE-2018-17961?
Priority: IMMEDIATE.
What systems are affected by CVE-2018-17961?
CVE-2018-17961 affects Artifex Ghostscript; Canonical Ubuntu Linux; Debian Debian Linux; Redhat Enterprise Linux Workstation, Enterprise Linux Server Aus, Enterprise Linux Server Eus, Enterprise Linux Server Tus, Enterprise Linux Server, Enterprise Linux Desktop.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Artifex","product":"Ghostscript","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.