{"id":"CVE-2016-7977","published":"2017-05-23T03:56:00Z","modified":"2024-08-06T02:13:21Z","title":"Ghostscript before 9.21 might allow remote attackers to bypass the SAFER mode protection mechanism and consequently…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04566,"percentile":0.91823,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.debian.org/security/2016/dsa-3691","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securityfocus.com/bid/95334","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0013.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=8abd22010eb4db0fb1b10e430d5f5d83e015ef70","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/09/29/28","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0014.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=697169","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/10/05/15","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://ghostscript.com/doc/9.21/History9.htm","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201702-31","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":18.36}]},"summary":{"text":"The flaw lies in Ghostscript before version 9.21, where the SAFER mode protection mechanism can be bypassed. The product's SAFER sandbox is the affected protection. An attacker who can get a crafted PostScript document processed can abuse the .libfile operator to bypass SAFER and read arbitrary files, with no authentication or configuration requirement stated beyond the document being processed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:16:28Z"},"euvd":{"id":"EUVD-2016-8825","exploited":false,"provenance":"source"},"lineage":{"children":[{"from":"CVE-2016-7977","to":"CVE-2018-11645","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"psi/zfile.c in Artifex Ghostscript before 9.21rc1 permits the status command even if -dSAFER is used, which might allow remote attackers to determine the existence and size of arbitrary files, a similar issue to CVE-2016-7977.","from":"CVE.org","in":"CVE-2018-11645"}]}]}}