High severity · published Sep 5, 2018
CVE-2018-16509
An issue was discovered in Artifex Ghostscript before 9.24
7.8
CVSS
92.5%
EPSS
No
On KEV
Description
An issue was discovered in Artifex Ghostscript before 9.24. Incorrect "restoration of privilege" checking during handling of /invalidaccess exceptions could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction.
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)92.5% · higher than 100% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
8.0; 9.0 · source: NVD
EL
Enterprise Linux Desktop · Redhat
6.0; 7.0 · source: NVD
EL
Enterprise Linux Server · Redhat
6.0; 7.0 · source: NVD
EL
Enterprise Linux Server Eus · Redhat
7.5 · source: NVD
EL
Enterprise Linux Workstation · Redhat
6.0; 7.0 · source: NVD
GH
Ghostscript · Artifex
before 9.24 · source: NVD
GG
Gpl Ghostscript · Artifex
before 9.26 · source: NVD
UL
Ubuntu Linux · Canonical
14.04; 16.04; 18.04 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-16509
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-16509
git.ghostscript.com
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=5516c614dc33662a2afdc377159f70218e67bde5
git.ghostscript.com
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=78911a01b67d590b4a91afac2e8417360b934156
git.ghostscript.com
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=79cccf641486a6595c43f1de1cd7ade696020a31
git.ghostscript.com
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=520bb0ea7519aa3e79db78aaf0589dae02103764
Exploit
http://seclists.org/oss-sec/2018/q3/142
Third Party Advisory
http://www.securityfocus.com/bid/105122
More from Ghostscript
7.8
CVE-2017-8291
Artifex Ghostscript Type Confusion Vulnerability
9.9
CVE-2021-3781
A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted pipe command
9.8
CVE-2025-27837
An issue was discovered in Artifex Ghostscript before 10.05.0
9.8
CVE-2025-27836
An issue was discovered in Artifex Ghostscript before 10.05.0
9.8
CVE-2025-27832
An issue was discovered in Artifex Ghostscript before 10.05.0
