{"id":"CVE-2018-16863","aliases":["EUVD-2018-8654","GHSA-83g5-f7jm-c8fc","RHSA-2018:3761"],"status":"published","title":"It was found that RHSA-2018:2918 did not fully fix CVE-2018-16509. An attacker could possibly...","description":"It was found that RHSA-2018:2918 did not fully fix CVE-2018-16509. An attacker could possibly exploit another variant of the flaw and bypass the -dSAFER protection to, for example, execute arbitrary shell commands via a specially crafted PostScript document. This only affects ghostscript 9.07 as shipped with Red Hat Enterprise Linux 7.","severity":{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01249,"percentile":0.69566,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-184","CWE-78"],"published":"2018-12-03T17:00:00Z","modified":"2026-06-26T10:40:08Z","fixes":[{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-cups","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-debuginfo","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-devel","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-doc","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-gtk","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-cups","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-debuginfo","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-devel","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-doc","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-gtk","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-cups","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-debuginfo","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-devel","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-doc","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-gtk","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-cups","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-debuginfo","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-devel","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-doc","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-gtk","fixed_in":["0:9.07-31.el7_6.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-31.el7_6.3"}]}]}],"products":[{"vendor":"artifex","product":"ghostscript"},{"vendor":"redhat","product":"enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_server_aus"},{"vendor":"redhat","product":"enterprise_linux_server_eus"},{"vendor":"redhat","product":"enterprise_linux_server_tus"},{"vendor":"redhat","product":"enterprise_linux_workstation"}],"references":[{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=5516c614dc33","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=78911a01b67d","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16863","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3761","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=79cccf641486","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=520bb0ea7519","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16863","tags":["advisory"]},{"url":"http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=520bb0ea7519"},{"url":"http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=5516c614dc33"},{"url":"http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=78911a01b67d"},{"url":"http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=79cccf641486"},{"url":"https://access.redhat.com/security/cve/CVE-2018-16863","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1652893","tags":["report"]},{"url":"https://github.com/advisories/GHSA-83g5-f7jm-c8fc"},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1654290","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_3761.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-16863","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2018-16863","description":"It was found that RHSA-2018:2918 did not fully fix CVE-2018-16509. An attacker could possibly exploit another variant of the flaw and bypass the -dSAFER protection to, for example, execute arbitrary shell commands via a specially crafted PostScript document. This only affects ghostscript 9.07 as shipped with Red Hat Enterprise Linux 7.","status":"published","published":"2018-12-03T17:00:00Z","modified":"2024-08-05T10:32:54.123Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"cna"}],"cwes":["CWE-184"],"updated_at":"2026-11-02T14:35:11.426178Z"}],"euvd":[{"id":"EUVD-2018-8654","description":"It was found that RHSA-2018:2918 did not fully fix CVE-2018-16509. An attacker could possibly exploit another variant of the flaw and bypass the -dSAFER protection to, for example, execute arbitrary shell commands via a specially crafted PostScript document. This only affects ghostscript 9.07 as shipped with Red Hat Enterprise Linux 7.","status":"published","published":"2018-12-03T17:00:00Z","modified":"2024-08-05T10:32:54Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-03T02:39:40.316949Z"}],"ghsa":[{"id":"GHSA-83g5-f7jm-c8fc","title":"It was found that RHSA-2018:2918 did not fully fix CVE-2018-16509. An attacker could possibly...","description":"It was found that RHSA-2018:2918 did not fully fix CVE-2018-16509. An attacker could possibly exploit another variant of the flaw and bypass the -dSAFER protection to, for example, execute arbitrary shell commands via a specially crafted PostScript document. This only affects ghostscript 9.07 as shipped with Red Hat Enterprise Linux 7.","status":"published","published":"2022-05-13T01:34:05Z","modified":"2023-02-13T00:31:00Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-78","CWE-184"],"updated_at":"2026-11-02T14:54:05.462623Z"}],"nvd":[{"id":"CVE-2018-16863","description":"It was found that RHSA-2018:2918 did not fully fix CVE-2018-16509. An attacker could possibly exploit another variant of the flaw and bypass the -dSAFER protection to, for example, execute arbitrary shell commands via a specially crafted PostScript document. This only affects ghostscript 9.07 as shipped with Red Hat Enterprise Linux 7.","status":"published","published":"2018-12-03T17:29:00.373Z","modified":"2026-06-17T01:44:56.29Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-184","CWE-78"],"updated_at":"2026-11-02T14:04:49.995593Z"}],"osv":[{"id":"RHSA-2018:3761","title":"Red Hat Security Advisory: ghostscript security and bug fix update","status":"published","published":"2024-09-16T01:52:21Z","modified":"2026-06-26T10:40:08Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T15:53:05.383061Z"}]}}
