VDB

CVE-2018-16542

CVE-2018-16542 PUBLISHED

Reported by mitre · Published September 5, 2018

In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use insufficient interpreter stack-size checking during error handling to crash the interpreter.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ghostscript-gtkAmazon Linux9.06-8.amzn2.0.5
ghostscript-develAmazon Linux9.06-8.amzn2.0.5
ghostscriptAmazon Linux9.06-8.amzn2.0.5
ghostscript-cupsAmazon Linux9.06-8.amzn2.0.5
ghostscript-docAmazon Linux9.06-8.amzn2.0.5
ghostscriptUbuntu:14.04:LTS9.10~dfsg-0ubuntu10.13
ghostscriptUbuntu:18.04:LTS9.22~dfsg+1-0ubuntu1.2
ghostscriptartifex9.24
ghostscriptUbuntu:16.04:LTS9.18~dfsg~0-0ubuntu2.9

Affected products

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

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 (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-16542
vulnetix vdb fixes CVE-2018-16542

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-16542/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 ›