CVE-2018-16802
Reported by mitre · Published September 10, 2018
An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. This is due to an incomplete fix for CVE-2018-16509.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ghostscript-gtk | Amazon Linux | 9.06-8.amzn2.0.5 |
| ghostscript | artifex | 9.25 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | ghostscript-gtk | 0 |
| n/a | n/a | * |
| amazon:2 | ghostscript-doc | 0 |
| amazon:2 | ghostscript | 0 |
| alpine | ghostscript | 0 |
| amazon:2 | ghostscript-cups | 0 |
| amazon:2 | ghostscript-devel | 0 |
Timeline
- Sep 10, 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 (5 in total, the first dated here)
- Sep 23, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-16802
vulnetix vdb fixes CVE-2018-16802
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-16802/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20180909 Re: Ghostscript 9.24 issues mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- x_refsource_MISC
- GLSA-201811-12 vendor-advisoryx_refsource_GENTOO
- USN-3768-1 vendor-advisoryx_refsource_UBUNTU
- RHSA-2018:3834 vendor-advisoryx_refsource_REDHAT
- DSA-4294 vendor-advisoryx_refsource_DEBIAN
- [debian-lts-announce] 20180913 [SECURITY] [DLA 1504-1] ghostscript security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_MISC