Back
CVE-2018-16802
An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during…
- 7.8HighCVSS base score
- 2.1%Exploitation in 30 daysEPSS · top 18% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. This is due to an incomplete fix for CVE-2018-16509.
Timeline
ID reserved
By mitre
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.1% · top 18% of all CVEs (9 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
n/a
- affected n/a
References
10
- [oss-security] 20180909 Re: Ghostscript 9.24 issues (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=5812b1b78fc4d36fdc293b7859de69241140d590 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://seclists.org/oss-sec/2018/q3/229 (opens in a new tab)x_refsource_MISCx_transferred
- GLSA-201811-12 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- USN-3768-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2018:3834 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- DSA-4294 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- [debian-lts-announce] 20180913 [SECURITY] [DLA 1504-1] ghostscript security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=643b24dbd002fb9c131313253c307cf3951b3d47 (opens in a new tab)x_refsource_MISCx_transferred
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=3e5d316b72e3965b7968bb1d96baa137cd063ac6 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-8602 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-16802)Record last updated .