VDB
CVE-2018-17961
CVE-2018-17961
PUBLISHED
Reported by mitre · Published October 15, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libgs | Amazon Linux | 9.25-5.amzn2 |
| ghostscript-doc | Amazon Linux | 9.25-5.amzn2 |
| ghostscript | Amazon Linux | 9.25-5.amzn2 |
| libgs-devel | Amazon Linux | 9.25-5.amzn2 |
| ghostscript | Alpine | 9.25-r1 |
| ghostscript-cups | Amazon Linux | 9.25-5.amzn2 |
| ghostscript | Ubuntu:14.04:LTS | 9.25~dfsg+1-0ubuntu0.14.04.2 |
| ghostscript | artifex | 9.25 |
| ghostscript | Ubuntu:16.04:LTS | 9.25~dfsg+1-0ubuntu0.16.04.2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | libgs | 0 |
| amazon:2 | ghostscript-doc | 0 |
| amazon:2 | ghostscript | 0 |
| amazon:2 | libgs-devel | 0 |
| alpine | ghostscript | 0 |
| amazon:2 | ghostscript-cups | 0 |
| n/a | n/a | * |
| arch | ghostscript | 0 |
| amazon:2 | ghostscript-gtk | 0 |
Timeline
- Oct 10, 2018 PoC Published
- Oct 15, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (4 in total, the first dated here)
- Sep 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-17961
vulnetix vdb fixes CVE-2018-17961
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-17961/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- [oss-security] 20181009 ghostscript: bypassing executeonly to escape -dSAFER sandbox (CVE-2018-17961) mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2018:3834 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- USN-3803-1 vendor-advisoryx_refsource_UBUNTU
- DSA-4336 vendor-advisoryx_refsource_DEBIAN
- [debian-lts-announce] 20181022 [SECURITY] [DLA 1552-1] ghostscript security update mailing-listx_refsource_MLIST
- 45573 exploitx_refsource_EXPLOIT-DB
- x_refsource_MISC