VDB
CVE-2018-16540
CVE-2018-16540
PUBLISHED
Reported by mitre · Published September 5, 2018
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files to the builtin PDF14 converter could use a use-after-free in copydevice handling to crash the interpreter or possibly have unspecified other impact.
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-devel | Amazon Linux | 9.06-8.amzn2.0.5 |
| ghostscript | Ubuntu:14.04:LTS | 9.10~dfsg-0ubuntu10.13 |
| ghostscript | Ubuntu:16.04:LTS | 9.18~dfsg~0-0ubuntu2.9 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | ghostscript-devel | 0 |
| n/a | n/a | * |
| amazon:2 | ghostscript-doc | 0 |
| amazon:2 | ghostscript-gtk | 0 |
| amazon:2 | ghostscript | 0 |
| amazon:2 | ghostscript-cups | 0 |
Timeline
- Sep 5, 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 (6 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-16540
vulnetix vdb fixes CVE-2018-16540
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-16540/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2019:0229 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- GLSA-201811-12 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- USN-3768-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_MISC
- DSA-4288 vendor-advisoryx_refsource_DEBIAN
- [debian-lts-announce] 20180913 [SECURITY] [DLA 1504-1] ghostscript security update mailing-listx_refsource_MLIST
- RHBA-2019:0327 vendor-advisoryx_refsource_REDHAT