{"id":"CVE-2016-7977","aliases":["BELL-CVE-2016-7977","DEBIAN-CVE-2016-7977","DLA-674-1","DSA-3691-1","EUVD-2016-8825","GHSA-cvc4-qjwp-hwhc","MGASA-2017-0133","RHSA-2017:0013","RHSA-2017:0014","SUSE-SU-2016:2493-1","UBUNTU-CVE-2016-7977","USN-3148-1","openSUSE-SU-2024:10003-1"],"status":"published","title":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection...","description":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently read arbitrary files via the use of the .libfile operator in a crafted postscript document.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04566,"percentile":0.91669,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200"],"published":"2016-10-06T00:00:00Z","modified":"2026-09-22T07:00:36Z","fixes":[{"ecosystem":"Debian:12","package":"ghostscript","fixed_in":["9.19~dfsg-3.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ghostscript","fixed_in":["9.19~dfsg-3.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ghostscript","fixed_in":["9.19~dfsg-3.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"ghostscript","fixed_in":["9.10~dfsg-0ubuntu10.5"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"ghostscript","fixed_in":["9.18~dfsg~0-0ubuntu2.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.19~dfsg-3.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.19~dfsg-3.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.19~dfsg-3.1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.05~dfsg-6.3+deb7u3"}]}],"versions":["9.05~dfsg-6.3","9.05~dfsg-6.3+deb7u1","9.05~dfsg-6.3+deb7u2"],"bundled":6},{"source":"osv","ecosystem":"Debian:8","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.06~dfsg-2+deb8u3"}]}],"versions":["9.06~dfsg-2","9.06~dfsg-2+deb8u1","9.06~dfsg-2+deb8u2"],"bundled":6},{"source":"osv","ecosystem":"Mageia:5","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.20-1.mga5"}]}],"bundled":13},{"source":"osv","ecosystem":"Mageia:5","package":"gutenprint","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.10-5.1.mga5"}]}],"bundled":13},{"source":"osv","ecosystem":"Mageia:5","package":"libspectre","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.7-5.1.mga5"}]}],"bundled":13},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"ghostscript-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"ghostscript-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"ghostscript-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"ghostscript-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:9.07-20.el7_3.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"ghostscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"ghostscript-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"ghostscript-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::client","package":"ghostscript-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"ghostscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"ghostscript-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"ghostscript-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::computenode","package":"ghostscript-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"ghostscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"ghostscript-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"ghostscript-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"ghostscript-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"ghostscript-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"ghostscript-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"ghostscript-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"ghostscript-gtk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.70-21.el6_8.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"ghostscript-library","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.62-32.38.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 5","package":"ghostscript-library","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.62-32.38.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Manager 2.1","package":"ghostscript-library","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.62-32.38.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Manager Proxy 2.1","package":"ghostscript-library","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.62-32.38.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","package":"ghostscript-library","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.62-32.38.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP2-LTSS","package":"ghostscript-library","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.62-32.38.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP3-LTSS","package":"ghostscript-library","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.62-32.38.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP3-TERADATA","package":"ghostscript-library","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.62-32.38.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"ghostscript-library","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.62-32.38.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"ghostscript-library","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.62-32.38.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.10~dfsg-0ubuntu10.5"}]}],"versions":["9.10~dfsg-0ubuntu2","9.10~dfsg-0ubuntu3","9.10~dfsg-0ubuntu4","9.10~dfsg-0ubuntu5","9.10~dfsg-0ubuntu6","9.10~dfsg-0ubuntu7","9.10~dfsg-0ubuntu8","9.10~dfsg-0ubuntu9","9.10~dfsg-0ubuntu10","9.10~dfsg-0ubuntu10.1","9.10~dfsg-0ubuntu10.2","9.10~dfsg-0ubuntu10.3","9.10~dfsg-0ubuntu10.4"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.18~dfsg~0-0ubuntu2.2"}]}],"versions":["9.16~dfsg~0-0ubuntu3","9.16~dfsg~0-0ubuntu4","9.18~dfsg~0-0ubuntu1","9.18~dfsg~0-0ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.10~dfsg-0ubuntu10.5"}]}],"versions":["9.10~dfsg-0ubuntu2","9.10~dfsg-0ubuntu3","9.10~dfsg-0ubuntu4","9.10~dfsg-0ubuntu5","9.10~dfsg-0ubuntu6","9.10~dfsg-0ubuntu7","9.10~dfsg-0ubuntu8","9.10~dfsg-0ubuntu9","9.10~dfsg-0ubuntu10","9.10~dfsg-0ubuntu10.1","9.10~dfsg-0ubuntu10.2","9.10~dfsg-0ubuntu10.3","9.10~dfsg-0ubuntu10.4"],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.18~dfsg~0-0ubuntu2.2"}]}],"versions":["9.16~dfsg~0-0ubuntu3","9.16~dfsg~0-0ubuntu4","9.18~dfsg~0-0ubuntu1","9.18~dfsg~0-0ubuntu2"],"bundled":6},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"ghostscript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.20-2.1"}]}],"bundled":7}],"products":[{"vendor":"artifex","product":"ghostscript"}],"references":[{"url":"http://www.debian.org/security/2016/dsa-3691","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/bid/95334","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html","tags":["x_refsource_CONFIRM","x_transferred","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0013.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=8abd22010eb4db0fb1b10e430d5f5d83e015ef70","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/29/28","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Patch","fix","report"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0014.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=697169","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2016/10/05/15","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Patch","fix"]},{"url":"https://ghostscript.com/doc/9.21/History9.htm","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","advisory"]},{"url":"https://security.gentoo.org/glsa/201702-31","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-7977","tags":["advisory"]},{"url":"http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=8abd22010eb4db0fb1b10e430d5f5d83e015ef70"},{"url":"https://github.com/advisories/GHSA-cvc4-qjwp-hwhc"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2016-7977","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-7977","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0133.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=19542","tags":["report"]},{"url":"http://openwall.com/lists/oss-security/2016/10/05/15","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/IJ3D6O5XHLO4UJVJETVCWPIWWWV6LQUE/","tags":["web"]},{"url":"https://access.redhat.com/errata/RHSA-2017:0013","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1380327","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1380415","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1382300","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1382305","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1383940","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_0013.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-5653","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-5653","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-5653","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2016-7977","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-7977","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2016-7978","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-7978","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-7978","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2016-7979","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-7979","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-7979","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2016-8602","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-8602","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8602","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:0014","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_0014.json","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2016/suse-su-20162493-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1001951","tags":["report"]},{"url":"https://bugzilla.suse.com/939342","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2013-5653","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-3228","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-7977","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-7979","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-7977","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2016/10/05/7","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3148-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2013-5653","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-7976","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-7978","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-7979","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-8602","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2016-7976","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-7978","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-8602","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2016-7977","description":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently read arbitrary files via the use of the .libfile operator in a crafted postscript document.","status":"published","published":"2017-05-23T03:56:00Z","modified":"2024-08-06T02:13:21.566Z","updated_at":"2026-11-02T14:33:36.483151Z"}],"euvd":[{"id":"EUVD-2016-8825","description":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently read arbitrary files via the use of the .libfile operator in a crafted postscript document.","status":"published","published":"2017-05-23T03:56:00Z","modified":"2024-08-06T02:13:21Z","updated_at":"2026-11-03T02:22:30.942601Z"}],"ghsa":[{"id":"GHSA-cvc4-qjwp-hwhc","title":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection...","description":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently read arbitrary files via the use of the .libfile operator in a crafted postscript document.","status":"published","published":"2022-05-14T03:49:12Z","modified":"2025-04-20T03:39:06Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T15:01:46.859213Z"}],"nvd":[{"id":"CVE-2016-7977","description":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently read arbitrary files via the use of the .libfile operator in a crafted postscript document.","status":"published","published":"2017-05-23T04:29:01.523Z","modified":"2026-06-17T00:53:52.41Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:03:38.290327Z"}],"osv":[{"id":"BELL-CVE-2016-7977","title":"CVE-2016-7977 does not affect BellSoft software","status":"withdrawn","published":"2017-05-23T04:29:00Z","modified":"2026-01-26T09:48:25.384201Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:28:14.137943Z"},{"id":"CVE-2016-7977","description":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently read arbitrary files via the use of the .libfile operator in a crafted postscript document.","status":"published","published":"2017-05-23T04:29:01.523Z","modified":"2026-04-16T06:21:39.253819564Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:03.171316Z"},{"id":"DEBIAN-CVE-2016-7977","description":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently read arbitrary files via the use of the .libfile operator in a crafted postscript document.","status":"published","published":"2017-05-23T04:29:01.523Z","modified":"2026-09-22T07:00:36.230378638Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:27.910042Z"},{"id":"RHSA-2017:0013","title":"Red Hat Security Advisory: ghostscript security update","status":"published","published":"2024-09-15T23:48:29Z","modified":"2026-06-26T10:32:43Z","cvss":[{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:04.262457Z"},{"id":"RHSA-2017:0014","title":"Red Hat Security Advisory: ghostscript security update","status":"published","published":"2024-09-15T23:48:35Z","modified":"2026-06-26T10:32:43Z","cvss":[{"version":"3.0","score":6.2,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:04.262457Z"},{"id":"UBUNTU-CVE-2016-7977","description":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently read arbitrary files via the use of the .libfile operator in a crafted postscript document.","status":"published","published":"2016-10-06T00:00:00Z","modified":"2026-04-22T11:00:45.735576Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:12.994319Z"},{"id":"DLA-674-1","title":"ghostscript - security update","status":"published","published":"2016-10-24T00:00:00Z","modified":"2026-03-09T02:09:30.513301Z","updated_at":"2026-11-02T15:46:13.207219Z"},{"id":"DSA-3691-1","title":"ghostscript - security update","status":"published","published":"2016-10-12T00:00:00Z","modified":"2026-03-09T01:22:04.864139Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"MGASA-2017-0133","title":"Updated ghostscript packages fix security vulnerability","description":"Various userparams in Ghostscript allow %pipe% in paths, allowing remote\nshell command execution (CVE-2016-7976).\n\nThe .libfile function in Ghostscript doesn't check PermitFileReading\narray, allowing remote file disclosure (CVE-2016-7977).\n\nReference leak in the .setdevice function in Ghostscript allows\nuse-after-free and remote code execution (CVE-2016-7978).\n\nType confusion in the .initialize_dsc_parser function in Ghostscript\nallows remote code execution (CVE-2016-7979).\n\nThe .sethalftone5 function in psi/zht2.c in Ghostscript before 9.21\nallows remote attackers to cause a denial of service (application crash)\nor possibly execute arbitrary code via a crafted Postscript document\nthat calls .sethalftone5 with an empty operand stack (CVE-2016-8602).\n\nA heap based buffer overflow was found in the ghostscript\njbig2_decode_gray_scale_image() function used to decode halftone segments\nin a JBIG2 image. A document (PostScript or PDF) with an embedded,\nspecially crafted, jbig2 image could trigger a segmentation fault in\nghostscript (CVE-2016-9601).\n\nThe pdf14_open function in base/gdevp14.c in Ghostscript 9.20 allows\nremote attackers to cause a denial of service (use-after-free and\napplication crash) via a crafted file that is mishandled in the color\nmanagement module (CVE-2016-10217).\n\nThe pdf14_pop_transparency_group function in base/gdevp14.c in the PDF\nTransparency module in Ghostscript 9.20 allows remote attackers to cause\na denial of service (NULL pointer dereference and application crash) via\na crafted file (CVE-2016-10218).\n\nThe intersect function in base/gxfill.c in Ghostscript 9.20 allows\nremote attackers to cause a denial of service (divide-by-zero error and\napplication crash) via a crafted file (CVE-2016-10219).\n\nThe gs_makewordimagedevice function in base/gsdevmem.c in Ghostscript\n9.20 allows remote attackers to cause a denial of service (NULL pointer\ndereference and application crash) via a crafted file that is mishandled\nin the PDF Transparency module (CVE-2016-10220).\n\nThe mem_get_bits_rectangle function in base/gdevmem.c in Ghostscript\n9.20 allows remote attackers to cause a denial of service (NULL pointer\ndereference and application crash) via a crafted file (CVE-2017-5951).\n\nThe mem_get_bits_rectangle function in Ghostscript 9.20 allows remote\nattackers to cause a denial of service (NULL pointer dereference) via a\ncrafted PostScript document (CVE-2017-7207).\n\nGhostscript through 2017-04-26 allows -dSAFER bypass and remote command\nexecution via .rsdparams type confusion with a \"/OutputFile (%pipe%\"\nsubstring in a crafted .eps document that is an input to the gs program\n(CVE-2017-8291).\n","status":"published","published":"2017-05-07T22:16:00Z","modified":"2026-04-16T06:22:31.886861912Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"openSUSE-SU-2024:10003-1","title":"ghostscript-9.20-2.1 on GA media","description":"These are all security issues fixed in the ghostscript-9.20-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:05:23.23663Z","updated_at":"2026-11-02T16:58:33.135986Z"},{"id":"SUSE-SU-2016:2493-1","title":"Security update for ghostscript-library","description":"\nThis update for ghostscript-library fixes the following issues:\n\n- Multiple security vulnerabilities have been discovered where ghostscript's\n  '-dsafer' flag did not provide sufficient protection against unintended\n  access to the file system. Thus, a machine that would process a specially\n  crafted Postscript file would potentially leak sensitive information to an\n  attacker. (CVE-2013-5653, CVE-2016-7977, bsc#1001951)\n\n- Insufficient validation of the type of input in .initialize_dsc_parser used\n  to allow remote code execution. (CVE-2016-7979, bsc#1001951)\n\n- An integer overflow in the gs_heap_alloc_bytes function used to allow remote\n  attackers to cause a denial of service (crash) via specially  crafted\n  Postscript files. (CVE-2015-3228, boo#939342)\n\n","status":"published","published":"2016-10-11T13:08:17Z","modified":"2026-02-04T04:28:32.560839Z","updated_at":"2026-11-02T15:53:43.438985Z"},{"id":"USN-3148-1","title":"ghostscript vulnerabilities","description":"Tavis Ormandy discovered multiple vulnerabilities in the way that Ghostscript\nprocesses certain Postscript files. If a user or automated system were tricked\ninto opening a specially crafted file, an attacker could cause a denial of\nservice or possibly execute arbitrary code. (CVE-2016-7976, CVE-2016-7978,\nCVE-2016-7979, CVE-2016-8602)\n\nMultiple vulnerabilities were discovered in Ghostscript related to information\ndisclosure. If a user or automated system were tricked into opening a specially\ncrafted file, an attacker could expose sensitive data. (CVE-2013-5653,\nCVE-2016-7977)\n","status":"published","published":"2016-12-02T02:05:37Z","modified":"2026-04-22T09:29:34.664145Z","updated_at":"2026-11-02T16:58:10.303275Z"}]}}
