{"id":"CVE-2016-7977","details":"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.","modified":"2026-04-16T06:21:39.253819564Z","published":"2017-05-23T04:29:01.523Z","related":["SUSE-SU-2016:2493-1","openSUSE-SU-2024:10003-1"],"references":[{"type":"WEB","url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=8abd22010eb4db0fb1b10e430d5f5d83e015ef70"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2017-0013.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2017-0014.html"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/95334"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201702-31"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3691"},{"type":"ADVISORY","url":"http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html"},{"type":"ADVISORY","url":"https://ghostscript.com/doc/9.21/History9.htm"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2016/09/29/28"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2016/10/05/15"},{"type":"FIX","url":"https://bugs.ghostscript.com/show_bug.cgi?id=697169"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"9.20"}]},{"events":[{"introduced":"0"},{"fixed":"9.21"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7977.json"}}],"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:N/A:N"}]}