ghostscript: Incorrect "restoration of privilege" checking when running out of stack during exception handling
Published Sep 10, 2018
7.8
HIGHCVSS 3.0
EPSS 2.16%
Description
An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. This is due to an incomplete fix for CVE-2018-16509.
Affected products
No data.
Configuration 1
- < 9.25
Configuration 2
- 8.0
- 9.0
Configuration 3
- 14.04
- 16.04
- 18.04
Configuration 4
- 7.0
- 7.0
- 7.6
- 7.6
- 7.6
- 7.0
No data.
Red Hat Enterprise Linux 7
ghostscript-0:9.07-31.el7_6.6
Fixed · RHSA-2018:3834
Red Hat Enterprise Linux 5
ghostscript
Not affected
Red Hat Enterprise Linux 6
ghostscript
Not affected
Red Hat Enterprise Linux 8
ghostscript
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | ghostscript-0:9.07-31.el7_6.6 | Fixed | RHSA-2018:3834 |
| Red Hat Enterprise Linux 5 | ghostscript | Not affected | n/a |
| Red Hat Enterprise Linux 6 | ghostscript | Not affected | n/a |
| Red Hat Enterprise Linux 8 | ghostscript | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of ghostscript as shipped with Red Hat Enterprise Linux 7. This issue did not affect the versions of ghostscript as shipped with Red Hat Enterprise Linux 5 and 6.
Red Hat mitigation
Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509
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:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
AV:N/AC:M/Au:N/C:P/I:P/A:P
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
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (24 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.16% (0.02159) | 81.53th | v5 (v2026.06.15) |
| Sep 22, 2026 | 2.16% (0.02159) | 81.40th | v5 (v2026.06.15) |
| Sep 21, 2026 | 3.85% (0.03849) | 89.71th | v5 (v2026.06.15) |
| Sep 6, 2026 | 2.16% (0.02159) | 81.00th | v5 (v2026.06.15) |
| Sep 5, 2026 | 3.85% (0.03849) | 89.48th | v5 (v2026.06.15) |
| Aug 30, 2026 | 2.16% (0.02159) | 80.90th | v5 (v2026.06.15) |
| Aug 28, 2026 | 3.85% (0.03849) | 89.42th | v5 (v2026.06.15) |
| Aug 24, 2026 | 2.16% (0.02159) | 80.80th | v5 (v2026.06.15) |
| Aug 23, 2026 | 3.85% (0.03849) | 89.37th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.16% (0.02159) | 79.76th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.89% (0.00889) | 73.39th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.21% (0.03214) | 78.24th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.89% (0.00889) | 73.88th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.32% (0.00319) | 71.37th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.32% (0.00319) | 69.71th | v3 (v2023.03.01) |
| Sep 4, 2023 | 0.32% (0.00319) | 66.74th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.23% (0.00229) | 59.23th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.38% (0.02378) | 81.49th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.38% (0.02378) | 79.73th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.38% (0.02378) | 58.37th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.94% (0.03937) | 72.91th | v1 |
| Jan 6, 2022 | 3.94% (0.03937) | 72.67th | v1 |
| Sep 1, 2021 | 3.94% (0.03937) | 83.13th | v1 |
| Apr 14, 2021 | 3.94% (0.03937) | 0.00th | v1 |
References (14)
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=3e5d316b72e3965b7968bb1d96baa137cd063ac6 x_refsource_MISC
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=643b24dbd002fb9c131313253c307cf3951b3d47 x_refsource_MISC
- https://access.redhat.com/errata/RHSA-2018:3834 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-16802 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1627959 Issue Tracking
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=5812b1b78fc4d36fdc293b7859de69241140d590 x_refsource_CONFIRM
- https://lists.debian.org/debian-lts-announce/2018/09/msg00015.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-16802
- https://seclists.org/oss-sec/2018/q3/228 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://seclists.org/oss-sec/2018/q3/229 x_refsource_MISCMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/201811-12 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://usn.ubuntu.com/3768-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-16802
- https://www.debian.org/security/2018/dsa-4294 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.