Search for vulnerabilities
Vulnerability ID | VCID-pt8g-dfsx-wydn |
Aliases |
CVE-2018-16509
|
Summary | 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. |
Status | Published |
Exploitability | 2.0 |
Weighted Severity | 8.4 |
Risk | 10.0 |
Affected and Fixed Packages | Package Details |
There are no known CWE. |
System | Score | Found at |
---|---|---|
cvssv3 | 7.3 | https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16509.json |
epss | 0.91513 | https://api.first.org/data/v1/epss?cve=CVE-2018-16509 |
epss | 0.92178 | https://api.first.org/data/v1/epss?cve=CVE-2018-16509 |
epss | 0.92178 | https://api.first.org/data/v1/epss?cve=CVE-2018-16509 |
epss | 0.92178 | https://api.first.org/data/v1/epss?cve=CVE-2018-16509 |
epss | 0.92178 | https://api.first.org/data/v1/epss?cve=CVE-2018-16509 |
cvssv3 | 7.3 | https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml |
cvssv2 | 9.3 | https://nvd.nist.gov/vuln/detail/CVE-2018-16509 |
cvssv3 | 7.8 | https://nvd.nist.gov/vuln/detail/CVE-2018-16509 |
Data source | Exploit-DB |
---|---|
Date added | Sept. 10, 2018 |
Description | Ghostscript - Failed Restore Command Execution (Metasploit) |
Ransomware campaign use | Known |
Source publication date | Sept. 10, 2018 |
Exploit type | local |
Platform | linux |
Source update date | Sept. 10, 2018 |
Source URL | https://raw.githubusercontent.com/rapid7/metasploit-framework/7f20178a0572176d2d57118e1e5cc3ef9c434656/modules/exploits/multi/fileformat/ghostscript_failed_restore.rb |
Data source | Metasploit |
---|---|
Description | This module exploits a -dSAFER bypass in Ghostscript to execute arbitrary commands by handling a failed restore (grestore) in PostScript to disable LockSafetyParams and avoid invalidaccess. This vulnerability is reachable via libraries such as ImageMagick. |
Note | Stability: - crash-safe SideEffects: [] Reliability: [] RelatedModules: - exploit/unix/fileformat/ghostscript_type_confusion - exploit/unix/fileformat/imagemagick_delegate |
Ransomware campaign use | Unknown |
Source publication date | Aug. 21, 2018 |
Platform | Linux,Unix,Windows |
Source URL | https://github.com/rapid7/metasploit-framework/tree/master/modules/exploits/multi/fileformat/ghostscript_failed_restore.rb |
Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Exploitability (E) | Access Vector (AV) | Access Complexity (AC) | Authentication (Au) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|
high functional unproven proof_of_concept not_defined |
local adjacent_network network |
high medium low |
multiple single none |
none partial complete |
none partial complete |
none partial complete |
Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Percentile | 0.99664 |
EPSS Score | 0.91513 |
Published At | Aug. 3, 2025, 12:55 p.m. |
Date | Actor | Action | Source | VulnerableCode Version |
---|---|---|---|---|
2025-07-31T08:38:21.226358+00:00 | Ubuntu USN Importer | Import | https://usn.ubuntu.com/3768-1/ | 37.0.0 |