CVE-2018-16509: artifex ghostscript
Vulnerability summary
CVE-2018-16509 is a high (CVSS 9.3) vulnerability in artifex ghostscript. EPSS estimates a 92.50% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities. 3 public exploits are recorded.
Weaponized exploit (exploit-database, 10-09-2018)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 7Timeline
- 05-09-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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 metrics
5 scores · 4 sources · 2 versions- OSV · Red hatEcosystem advisory · calculated7.3HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
92.50%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 92.50% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
3 foundExploit Reference (seclists.org)
Maturity: unknown
Ghostscript - Failed Restore Command Execution (Metasploit)
Maturity: weaponized
Ghostscript Failed Restore Command Execution
exploit/multi/fileformat/ghostscript_failed_restore
Maturity: weaponized
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat9 products
- enterprise_linux_desktop6.0 | 7.0
- enterprise_linux_server6.0 | 7.0
- enterprise_linux_server_eus7.5
- enterprise_linux_workstation6.0 | 7.0
- ghostscript< 0:8.70-24.el6_10.2
Artifex2 products
- ghostscript< 9.24
- gpl_ghostscript< 9.26
Debian2 products
- ghostscript< 9.25~dfsg-1
- debian_linuxEOL8.0 | 9.0
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 18.04
Ubuntu1 product
- ghostscript< 9.10~dfsg-0ubuntu10.13 | < 9.18~dfsg~0-0ubuntu2.9 | < 9.22~dfsg+1-0ubuntu1.2
5 vendors · 15 products
References
24 links- bugs.ghostscript.com/show_bug.cgi?id=699654X Refsource MISCIssue TrackingPermissions RequiredThird Party Advisory
- access.redhat.com/errata/RHSA-2018:3760Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- seclists.org/oss-sec/2018/q3/142X Refsource MISCExploitMailing ListThird Party AdvisoryARTICLEREPORT
Show all 24 references
- lists.debian.org/debian-lts-announce/2018/09/msg00015.htmlMailing ListX Refsource MLISTThird Party Advisory