{"id":"CVE-2018-16802","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"An issue was discovered in Artifex Ghostscript before 9.25. Incorrect \"restoration of privilege\" checking when running…","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.","ai_summary":null,"severity":"high","cvss":{"score":7.8,"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":7.8,"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd"},{"score":6.8,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":[],"remote":false,"remote_unauth":false,"epss":{"score":0.02086,"percentile":0.82137,"date":"2026-12-02"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://security.gentoo.org/glsa/201811-12","kind":"vendor"},{"url":"https://usn.ubuntu.com/3768-1/","kind":"vendor"},{"url":"https://access.redhat.com/errata/RHSA-2018:3834","kind":"vendor"},{"url":"https://www.debian.org/security/2018/dsa-4294","kind":"vendor"},{"url":"https://seclists.org/oss-sec/2018/q3/228","kind":"other"},{"url":"https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=5812b1b78fc4d36fdc293b7859de69241140d590","kind":"other"},{"url":"https://seclists.org/oss-sec/2018/q3/229","kind":"other"},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00015.html","kind":"other"},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=643b24dbd002fb9c131313253c307cf3951b3d47","kind":"other"},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=3e5d316b72e3965b7968bb1d96baa137cd063ac6","kind":"other"}],"workarounds":null,"vendors":["artifex","canonical","debian","redhat"],"products":["debian_linux","enterprise_linux_desktop","enterprise_linux_server","enterprise_linux_server_aus","enterprise_linux_server_eus","enterprise_linux_server_tus","enterprise_linux_workstation","ghostscript","ubuntu_linux"],"cpes":["cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*","cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"],"published_at":"2018-09-10T16:00:00.000Z","modified_at":"2026-06-17T01:44:50.467Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16802"}],"links":{"html":"https://flawdb.com/CVE-2018-16802","markdown":"https://flawdb.com/CVE-2018-16802.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-16802"}}