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.

PackageEcosystemFixed in
ghostscript-develAmazon Linux9.06-8.amzn2.0.5
ghostscriptUbuntu:14.04:LTS9.10~dfsg-0ubuntu10.13
ghostscriptUbuntu:16.04:LTS9.18~dfsg~0-0ubuntu2.9

Affected products

VendorProductVersions
n/an/an/a
amazon:2ghostscript-devel0
n/an/a*
amazon:2ghostscript-doc0
amazon:2ghostscript-gtk0
amazon:2ghostscript0
amazon:2ghostscript-cups0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›