ghostscript: Heap-buffer over-read in the gs_alloc_ref_array function
Published Jul 26, 2017
7.8
HIGHCVSS 3.0
EPSS 2.69%
Description
The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c.
Affected products
No data.
Configuration 1
- 9.21
Configuration 2
- 8.0
- 9.0
No data.
Red Hat Enterprise Linux 5
ghostscript
Will not fix
Red Hat Enterprise Linux 6
ghostscript
Will not fix
Red Hat Enterprise Linux 7
ghostscript
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | ghostscript | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | ghostscript | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | 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:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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 v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.69% (0.02685) | 85.32th | v5 (v2026.06.15) |
| Sep 22, 2026 | 2.69% (0.02685) | 85.19th | v5 (v2026.06.15) |
| Sep 21, 2026 | 4.21% (0.04210) | 90.56th | v5 (v2026.06.15) |
| Sep 6, 2026 | 2.69% (0.02685) | 84.86th | v5 (v2026.06.15) |
| Sep 5, 2026 | 4.21% (0.04210) | 90.35th | v5 (v2026.06.15) |
| Aug 30, 2026 | 2.69% (0.02685) | 84.78th | v5 (v2026.06.15) |
| Aug 28, 2026 | 4.21% (0.04210) | 90.29th | v5 (v2026.06.15) |
| Aug 24, 2026 | 2.69% (0.02685) | 84.69th | v5 (v2026.06.15) |
| Aug 23, 2026 | 4.21% (0.04210) | 90.25th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.69% (0.02685) | 83.84th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.17% (0.00165) | 35.10th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.74% (0.00740) | 81.52th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.74% (0.00740) | 80.25th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.74% (0.00740) | 77.89th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.21% (0.01213) | 66.61th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.21% (0.01213) | 40.54th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.94% (0.01943) | 48.45th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.94% (0.01943) | 0.00th | v1 |
References (9)
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=cfde94be1d4286bc47633c6e6eaf4e659bd78066 x_refsource_CONFIRM
- http://www.debian.org/security/2017/dsa-3986 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.securityfocus.com/bid/99991 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2017-9835 Vendor Advisory
- https://bugs.ghostscript.com/show_bug.cgi?id=697985 x_refsource_CONFIRMExploitIssue TrackingThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1475837 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2017-9835
- https://security.gentoo.org/glsa/201811-12 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-9835
| Link | Providers | Tags |
|---|---|---|
| http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=cfde94be1d4286bc47633c6e6eaf4e659bd78066 | x_refsource_CONFIRM | |
| http://www.debian.org/security/2017/dsa-3986 | vendor-advisoryx_refsource_DEBIANThird Party Advisory | |
| http://www.securityfocus.com/bid/99991 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2017-9835 | Vendor Advisory | |
| https://bugs.ghostscript.com/show_bug.cgi?id=697985 | x_refsource_CONFIRMExploitIssue TrackingThird Party Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1475837 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-9835 | ||
| https://security.gentoo.org/glsa/201811-12 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2017-9835 |
Change history (0)
No recorded changes yet.