CVE-2018-16513 json
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function t…
published 2018-09-05 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-8324
- cvss
- 7.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use a type confusion in the setcolor function to crash the interpreter or possibly have unspecified other impact.
Patch / fix
- artifex ghostscript 9.24
- artifex gpl_ghostscript 9.26
- pulsesecure pulse_connect_secure 8.2r12.1, 8.3r7.1, 9.0r3.4
- ghostscript Debian 14, Debian 13, Debian 12 9.22~dfsg-3
debian advisories DEBIAN-CVE-2018-16513
- ghostscript Ubuntu 14.04 LTS 9.10~dfsg-0ubuntu10.13
- ghostscript Ubuntu 16.04 LTS 9.18~dfsg~0-0ubuntu2.9
- ghostscript Ubuntu 18.04 LTS 9.22~dfsg+1-0ubuntu1.2
ubuntu advisories UBUNTU-CVE-2018-16513
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ghostscript SLES 12 SP3, SLES 12 SP2-BCL, SLED 12 SP3 +9 more 9.25-23.13.1
- ghostscript-library SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +3 more 8.62-32.47.13.1
- ghostscript SLE Module for Basesystem 15 9.25-3.6.1
- libspectre SLE Module for Desktop Applications 15 0.2.8-3.2.1
suse advisories SUSE-SU-2018:2975-3SUSE-SU-2018:3330-1SUSE-SU-2018:2975-2SUSE-SU-2018:2975-1SUSE-SU-2018:2976-1
- ghostscript openSUSE Tumbleweed 9.54.0-2.2
opensuse advisories openSUSE-SU-2024:10783-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-16513 updated cvss 7.3
ghostscript: setcolor missing type check (699655)
-
Red Hat Enterprise Linux 6 ghostscript, ghostscript-gtk Red Hat Enterprise Linux 7 libgs, ghostscript, ghostscript-gtk, ghostscript-cups Red Hat Enterprise Linux 8 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printing Red Hat OpenShift Container Platform 3.2 mediawiki Red Hat OpenShift Container Platform 3.3 mediawiki Red Hat OpenShift Container Platform 3.4 mediawikinot affected: vulnerable code not present
+8 more productsfewer
Red Hat OpenShift Container Platform 3.5 mediawiki Red Hat OpenShift Container Platform 3.6 mediawiki Red Hat OpenShift Container Platform 3.7 mediawiki Red Hat OpenShift Container Platform 3.9 mediawiki Red Hat OpenShift Container Platform 3.10 mediawiki Red Hat OpenShift Container Platform 3.11 mediawiki Red Hat OpenShift Enterprise 3.0 mediawiki Red Hat OpenShift Enterprise 3.1 mediawiki
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.50% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-704 Incorrect Type Conversion or Cast
- Technology feeds
References
-
artifex.com
/news/ghostscript-security-resolved/
patch, vendor-advisory
-
kb.pulsesecure.net
/articles/Pulse_Security_Advisories/SA44101
patch, third-party-advisory
-
security.gentoo.org
/glsa/201811-12
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3768-1/
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4288
vendor-advisory, third-party-advisory
-
bugs.ghostscript.com
/show_bug.cgi?id=699655
issue-tracking, permissions-required, vendor-advisory
- git.ghostscript.com /?p=ghostpdl.git%3Ba=commit%3Bh=b326a71659b7837d3acde954b18bda1a6f5e9498
-
lists.debian.org
/debian-lts-announce/2018/09/msg00015.html
mailing-list, third-party-advisory
- support.f5.com /csp/article/K22141757?utm_source=f5support&%3Butm_medium=RSS
Sources
- CVE List CVE-2018-16513
- NVD CVE-2018-16513
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.