CVE-2016-7977
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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 4.56% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 91.1% of scored records. A rank, not a probability.
- NVD base score
- 5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2017-05-23 03:56Z9 YR AGO
- Last updated
- 2024-08-06 02:13Z2 YR AGO
- Reserved
- 2016-09-09
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-200Exposure of Sensitive Information to an Unauthorized ActorClass
- Data version
- 5.1
- Document digest
- e8646fcafcc0235382f70b2ff082036b194fab0d5b55f2d3202f81de22c3544c
05 Affected products
06 References
- www.debian.orgDSA-3691http://www.debian.org/security/2016/dsa-3691
- www.securityfocus.com95334http://www.securityfocus.com/bid/95334
- www.oracle.comhttp://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- rhn.redhat.comRHSA-2017:0013http://rhn.redhat.com/errata/RHSA-2017-0013.html
- git.ghostscript.comhttp://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=8abd22010eb4db0fb1b10e430d5f5d83e015ef70
- www.openwall.com[oss-security] 20160928 Re: ImageMagick identify "d:" hangshttp://www.openwall.com/lists/oss-security/2016/09/29/28
- rhn.redhat.comRHSA-2017:0014http://rhn.redhat.com/errata/RHSA-2017-0014.html
- bugs.ghostscript.comhttps://bugs.ghostscript.com/show_bug.cgi?id=697169
- www.openwall.com[oss-security] 20161005 Re: CVE Request - multiple ghostscript -dSAFER sandbox problemshttp://www.openwall.com/lists/oss-security/2016/10/05/15
- ghostscript.comhttps://ghostscript.com/doc/9.21/History9.htm
- security.gentoo.orgGLSA-201702-31https://security.gentoo.org/glsa/201702-31
07 Fixed in
Debian 12
- ghostscript Fixed in 9.19~dfsg-3.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- ghostscript Fixed in 9.19~dfsg-3.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- ghostscript Fixed in 9.19~dfsg-3.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- ghostscript Fixed in 9.10~dfsg-0ubuntu10.5
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- ghostscript Fixed in 9.18~dfsg~0-0ubuntu2.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.