CVE-2018-16802: Artifex Ghostscript - Command Injection
- Cve: CVE-2018-16802
- Name: Artifex Ghostscript - Command Injection
- 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.
- Impact: Attackers can execute arbitrary code via crafted PostScript, potentially leading to full system compromise.
- Remediation: Update to version 9.25 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.02086
- Epss percentile: 0.82063
- Assignee: [email protected]
- Published at: 2018-09-10T16:29:00Z
- Age in days: 2997
- Modified at: 2026-06-17T01:44:50Z
- Patch available: yes
- References total: 10
- Products total: 9
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-16802
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://access.redhat.com/errata/RHSA-2018:3834 | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2018/09/msg00015.html | Mailing List, Third Party Advisory |
| https://seclists.org/oss-sec/2018/q3/228 | Mailing List, Third Party Advisory |
| https://seclists.org/oss-sec/2018/q3/229 | Mailing List, Third Party Advisory |
| https://security.gentoo.org/glsa/201811-12 | Third Party Advisory |
| https://usn.ubuntu.com/3768-1/ | Third Party Advisory |
| https://www.debian.org/security/2018/dsa-4294 | Third Party Advisory |
| http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=3e5d316b72e3965b7968bb1d96baa137cd063ac6 | |
| http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=643b24dbd002fb9c131313253c307cf3951b3d47 | |
| https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=5812b1b78fc4d36fdc293b7859de69241140d590 |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exposed hosts: 21109361
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports