CVE-2018-19476 json
psi/zicc.c in Artifex Ghostscript before 9.26 allows remote attackers to bypass intended access restrictions because of a setcolorspace typ…
published 2018-11-23 7 y ago modified 2026-06-17 4 mo ago also EUVD-2018-11165
- cvss
- 7.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.0%
- EPSS 3.0% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
psi/zicc.c in Artifex Ghostscript before 9.26 allows remote attackers to bypass intended access restrictions because of a setcolorspace type confusion.
Patch / fix
- artifex ghostscript 9.26
- ghostscript Debian 14, Debian 13, Debian 12 9.26~dfsg-1
debian advisories DEBIAN-CVE-2018-19476
- ghostscript Ubuntu 14.04 LTS 9.26~dfsg+0-0ubuntu0.14.04.1
- ghostscript Ubuntu 16.04 LTS 9.26~dfsg+0-0ubuntu0.16.04.1
- ghostscript Ubuntu 18.04 LTS 9.26~dfsg+0-0ubuntu0.18.04.1
ubuntu advisories UBUNTU-CVE-2018-19476
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 RHEL 7 9.07-31.el7_6.9
- ghostscript-gtk RHEL 7 9.07-31.el7_6.9
- ghostscript-cups RHEL 7 9.07-31.el7_6.9
red hat advisories RHSA-2019:0229
- ghostscript SLES 12 SP4, SLES 12 SP3, SLES 12 SP2-BCL +13 more 9.26-23.16.1
- libspectre SLES 12 SP4, SLES 12 SP3, SLES 12 SP2-BCL +13 more 0.2.7-12.4.1
- ghostscript SLE Module for Basesystem 15 9.26-3.9.4
- libspectre SLE Module for Desktop Applications 15 0.2.8-3.4.3
suse advisories SUSE-SU-2018:4090-2SUSE-SU-2018:4090-1SUSE-SU-2018:4087-1
- ghostscript openSUSE Tumbleweed 9.54.0-2.2
opensuse advisories openSUSE-SU-2024:10783-1
- ghostscript Alpine 3.24, Alpine 3.23, Alpine 3.22 +17 more 9.26-r0
alpine advisories ALPINE-CVE-2018-19476
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
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-19476 updated cvss 7.3
ghostscript: access bypass in psi/zicc.c (700169)
-
Red Hat Enterprise Linux 5 ghostscript Red Hat Enterprise Linux 6 ghostscript, ghostscript-gtkaffected: workaround, no fix planned “Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509”
-
Red Hat Enterprise Linux Client (v. 7) ghostscript 9.07-31.el7_6.9, ghostscript-cups 9.07-31.el7_6.9 Red Hat Enterprise Linux Client Optional (v. 7) ghostscript-gtk 9.07-31.el7_6.9 Red Hat Enterprise Linux ComputeNode (v. 7) ghostscript 9.07-31.el7_6.9, ghostscript-cups 9.07-31.el7_6.9 Red Hat Enterprise Linux ComputeNode Optional (v. 7) ghostscript-gtk 9.07-31.el7_6.9 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) ghostscript 9.07-31.el7_6.9, ghostscript-cups 9.07-31.el7_6.9 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) ghostscript-gtk 9.07-31.el7_6.9fixed: vendor fix “Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509” RHSA-2019:0229
+4 more productsfewer
Red Hat Enterprise Linux Server (v. 7) ghostscript 9.07-31.el7_6.9, ghostscript-cups 9.07-31.el7_6.9 Red Hat Enterprise Linux Server Optional (v. 7) ghostscript-gtk 9.07-31.el7_6.9 Red Hat Enterprise Linux Workstation (v. 7) ghostscript 9.07-31.el7_6.9, ghostscript-cups 9.07-31.el7_6.9 Red Hat Enterprise Linux Workstation Optional (v. 7) ghostscript-gtk 9.07-31.el7_6.9 -
Red Hat Enterprise Linux 8 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printingnot affected: vulnerable code not present
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
3.04% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- semmle.com https://semmle.com/news/semmle-discovers-severe-vulnerability-ghostscript-postscript-pdf referenced PoC, tagged "exploit" by a source, unverified
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
References
-
bugs.ghostscript.com
/show_bug.cgi?id=700169
issue-tracking, patch, vendor-advisory
-
semmle.com
/news/semmle-discovers-severe-vulnerability-ghostscript-postscript-pdf
exploit, mitigation, third-party-advisory
-
debian.org
/security/2018/dsa-4346
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:0229
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3831-1/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHBA-2019:0327
vendor-advisory, third-party-advisory
-
ghostscript.com
/doc/9.26/History9.htm#Version9.26
release-notes, vendor-advisory
- git.ghostscript.com /?p=ghostpdl.git%3Bh=434753adbe8be5534bfb9b7d91746023e8073d16
- git.ghostscript.com /?p=ghostpdl.git%3Ba=commit%3Bh=67d760ab775dae4efe803b5944b0439aa3c0b04a
-
securityfocus.com
/bid/106154
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/11/msg00036.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-19476
- NVD CVE-2018-19476
Fencer Intel 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.