ghostscript: .libfile does not honor -dSAFER
Published May 23, 2017
6.2
MEDIUMCVSS 3.0
EPSS 4.57%
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.
Affected products
No data.
- ≤ 9.20
No data.
Red Hat Enterprise Linux 6
ghostscript-0:8.70-21.el6_8.1
Fixed · RHSA-2017:0014
Red Hat Enterprise Linux 7
ghostscript-0:9.07-20.el7_3.1
Fixed · RHSA-2017:0013
Red Hat Enterprise Linux 5
ghostscript
Will not fix
Red Hat OpenShift Enterprise 2
ghostscript
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | ghostscript-0:8.70-21.el6_8.1 | Fixed | RHSA-2017:0014 |
| Red Hat Enterprise Linux 7 | ghostscript-0:9.07-20.el7_3.1 | Fixed | RHSA-2017:0013 |
| Red Hat Enterprise Linux 5 | ghostscript | Will not fix | n/a |
| Red Hat OpenShift Enterprise 2 | ghostscript | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
AV:N/AC:M/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.57% (0.04566) | 91.32th | v5 (v2026.06.15) |
| Sep 22, 2026 | 4.57% (0.04566) | 91.19th | v5 (v2026.06.15) |
| Sep 21, 2026 | 6.54% (0.06539) | 93.58th | v5 (v2026.06.15) |
| Sep 6, 2026 | 4.57% (0.04566) | 90.99th | v5 (v2026.06.15) |
| Sep 5, 2026 | 6.54% (0.06539) | 93.44th | v5 (v2026.06.15) |
| Aug 30, 2026 | 4.57% (0.04566) | 90.94th | v5 (v2026.06.15) |
| Aug 28, 2026 | 6.54% (0.06539) | 93.39th | v5 (v2026.06.15) |
| Aug 24, 2026 | 4.57% (0.04566) | 90.89th | v5 (v2026.06.15) |
| Aug 23, 2026 | 6.54% (0.06539) | 93.37th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.57% (0.04566) | 90.36th | v5 (v2026.06.15) |
| Sep 1, 2025 | 0.50% (0.00499) | 65.05th | v4 (v2025.03.14) |
| Jun 19, 2025 | 1.52% (0.01521) | 80.37th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.32% (0.00317) | 52.57th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.27% (0.00275) | 68.95th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.27% (0.00275) | 67.18th | v3 (v2023.03.01) |
| Oct 7, 2023 | 0.27% (0.00275) | 64.36th | v3 (v2023.03.01) |
| May 8, 2023 | 0.19% (0.00193) | 55.60th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.21% (0.00205) | 56.68th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.96% (0.01955) | 78.47th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.96% (0.01955) | 76.59th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.96% (0.01955) | 55.71th | v2 (v2022.01.01) |
References (15)
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=8abd22010eb4db0fb1b10e430d5f5d83e015ef70 x_refsource_CONFIRM
- http://rhn.redhat.com/errata/RHSA-2017-0013.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2017-0014.html vendor-advisoryx_refsource_REDHAT
- http://www.debian.org/security/2016/dsa-3691 vendor-advisoryx_refsource_DEBIAN
- http://www.openwall.com/lists/oss-security/2016/09/29/28 mailing-listx_refsource_MLISTMailing ListPatch
- http://www.openwall.com/lists/oss-security/2016/10/05/15 mailing-listx_refsource_MLISTMailing ListPatch
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/95334 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2016-7977 Vendor Advisory
- https://bugs.ghostscript.com/show_bug.cgi?id=697169 x_refsource_CONFIRMIssue TrackingPatch
- https://bugzilla.redhat.com/show_bug.cgi?id=1380415 Issue Tracking
- https://ghostscript.com/doc/9.21/History9.htm x_refsource_CONFIRMRelease Notes
- https://nvd.nist.gov/vuln/detail/CVE-2016-7977
- https://security.gentoo.org/glsa/201702-31 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2016-7977
Change history (0)
No recorded changes yet.