SecurityContext

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

IdName
NVD-CWE-noinfo—

References

Same in every row:

  • Source: nvd
UrlTags
https://access.redhat.com/errata/RHSA-2018:3834Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/09/msg00015.htmlMailing List, Third Party Advisory
https://seclists.org/oss-sec/2018/q3/228Mailing List, Third Party Advisory
https://seclists.org/oss-sec/2018/q3/229Mailing List, Third Party Advisory
https://security.gentoo.org/glsa/201811-12Third Party Advisory
https://usn.ubuntu.com/3768-1/Third Party Advisory
https://www.debian.org/security/2018/dsa-4294Third 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
ProductAffectedUrl
artifex:ghostscript< 9.25/v1/products/artifex/ghostscript
debian:debian_linux= 9.0, = 8.0/v1/products/debian/debian_linux
canonical:ubuntu_linux= 18.04, = 16.04, = 14.04/v1/products/canonical/ubuntu_linux
redhat:enterprise_linux_desktop= 7.0/v1/products/redhat/enterprise_linux_desktop
redhat:enterprise_linux_server= 7.0/v1/products/redhat/enterprise_linux_server
redhat:enterprise_linux_workstation= 7.0/v1/products/redhat/enterprise_linux_workstation
redhat:enterprise_linux_server_aus= 7.6/v1/products/redhat/enterprise_linux_server_aus
redhat:enterprise_linux_server_tus= 7.6/v1/products/redhat/enterprise_linux_server_tus
redhat:enterprise_linux_server_eus= 7.6/v1/products/redhat/enterprise_linux_server_eus

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