{"id":"CVE-2018-16509","details":"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.","modified":"2026-04-16T06:20:08.805948567Z","published":"2018-09-05T06:29:00.483Z","related":["SUSE-SU-2018:2975-1","SUSE-SU-2018:2975-2","SUSE-SU-2018:2975-3","SUSE-SU-2018:2976-1","SUSE-SU-2018:3330-1","openSUSE-SU-2024:10783-1"],"references":[{"type":"WEB","url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=5516c614dc33662a2afdc377159f70218e67bde5"},{"type":"WEB","url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=78911a01b67d590b4a91afac2e8417360b934156"},{"type":"WEB","url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=79cccf641486a6595c43f1de1cd7ade696020a31"},{"type":"WEB","url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=520bb0ea7519aa3e79db78aaf0589dae02103764"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00015.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:2918"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201811-12"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/105122"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3768-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4294"},{"type":"ADVISORY","url":"https://www.artifex.com/news/ghostscript-security-resolved/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3760"},{"type":"REPORT","url":"https://bugs.ghostscript.com/show_bug.cgi?id=699654"},{"type":"EVIDENCE","url":"https://www.exploit-db.com/exploits/45369/"},{"type":"EVIDENCE","url":"http://seclists.org/oss-sec/2018/q3/142"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16509.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"fixed":"9.24"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]},{"events":[{"introduced":"0"},{"last_affected":"6.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"6.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.5"}]},{"events":[{"introduced":"0"},{"last_affected":"6.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"fixed":"9.26"}]},{"events":[{"introduced":"0"},{"fixed":"9.24"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}