CVE-2017-9835
publishedghostscript: Heap-buffer over-read in the gs_alloc_ref_array function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | ghostscript | Advisory build | 9.06~dfsg-2+deb8u6 | DSA-3986-1 |
| SUSE / openSUSE | SLE-11-SP4 | ghostscript-develi586 | Advisory build | 8.62-32.47.7.1 | SUSE-SU-2018:1140-1 |
| Ubuntu | trusty | ghostscript | Advisory build | 9.10~dfsg-0ubuntu10.10 | USN-3403-1 |
| Debian | stretch | ghostscript | Advisory build | 9.20~dfsg-3.2+deb9u1 | DSA-3986-1 |
| Debian | wheezy | ghostscript | Advisory build | 9.05~dfsg-6.3+deb7u7 | DLA-1048-1 |
| SUSE / openSUSE | SLE-11-SP4 | ghostscript-develia64 | Advisory build | 8.62-32.47.7.1 | SUSE-SU-2018:1140-1 |
| SUSE / openSUSE | SLE-11-SP4 | ghostscript-develppc64 | Advisory build | 8.62-32.47.7.1 | SUSE-SU-2018:1140-1 |
Show 43 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-11-SP4 | ghostscript-devels390x | Advisory build | 8.62-32.47.7.1 | SUSE-SU-2018:1140-1 |
| SUSE / openSUSE | SLE-11-SP4 | ghostscript-develx86_64 | Advisory build | 8.62-32.47.7.1 | SUSE-SU-2018:1140-1 |
| SUSE / openSUSE | SLE-11-SP4 | ghostscript-ijs-develi586 | Advisory build | 8.62-32.47.7.1 | SUSE-SU-2018:1140-1 |
| SUSE / openSUSE | SLE-11-SP4 | ghostscript-ijs-develia64 | Advisory build | 8.62-32.47.7.1 | SUSE-SU-2018:1140-1 |
| SUSE / openSUSE | SLE-11-SP4 | ghostscript-ijs-develppc64 | Advisory build | 8.62-32.47.7.1 | SUSE-SU-2018:1140-1 |
| SUSE / openSUSE | SLE-11-SP4 | ghostscript-ijs-devels390x | Advisory build | 8.62-32.47.7.1 | SUSE-SU-2018:1140-1 |
| SUSE / openSUSE | SLE-11-SP4 | ghostscript-ijs-develx86_64 | Advisory build | 8.62-32.47.7.1 | SUSE-SU-2018:1140-1 |
| SUSE / openSUSE | SLE-11-SP4 | libgimpprint-develi586 | Advisory build | 4.2.7-32.47.7.1 | SUSE-SU-2018:1140-1 |
| SUSE / openSUSE | SLE-11-SP4 | libgimpprint-develia64 | Advisory build | 4.2.7-32.47.7.1 | SUSE-SU-2018:1140-1 |
| SUSE / openSUSE | SLE-11-SP4 | libgimpprint-develppc64 | Advisory build | 4.2.7-32.47.7.1 | SUSE-SU-2018:1140-1 |
| SUSE / openSUSE | SLE-11-SP4 | libgimpprint-devels390x | Advisory build | 4.2.7-32.47.7.1 | SUSE-SU-2018:1140-1 |
| SUSE / openSUSE | SLE-11-SP4 | libgimpprint-develx86_64 | Advisory build | 4.2.7-32.47.7.1 | SUSE-SU-2018:1140-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscriptaarch64 | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscriptppc64le | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscripts390x | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscriptx86_64 | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscript-develaarch64 | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscript-develppc64le | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscript-devels390x | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscript-develx86_64 | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscript-x11aarch64 | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscript-x11ppc64le | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscript-x11s390x | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP2 | ghostscript-x11x86_64 | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscriptaarch64 | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscriptppc64le | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscripts390x | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscriptx86_64 | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-develaarch64 | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-develppc64le | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-devels390x | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-develx86_64 | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-x11aarch64 | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-x11ppc64le | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-x11s390x | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| SUSE / openSUSE | SLE-12-SP3 | ghostscript-x11x86_64 | Advisory build | 9.15-23.7.1 | SUSE-SU-2018:0407-1 |
| Ubuntu | trusty | ghostscript-x | Advisory build | 9.10~dfsg-0ubuntu10.10 | USN-3403-1 |
| Ubuntu | trusty | libgs9 | Advisory build | 9.10~dfsg-0ubuntu10.10 | USN-3403-1 |
| Ubuntu | trusty | libgs9-common | Advisory build | 9.10~dfsg-0ubuntu10.10 | USN-3403-1 |
| Ubuntu | xenial | ghostscript | Advisory build | 9.18~dfsg~0-0ubuntu2.7 | USN-3403-1 |
| Ubuntu | xenial | ghostscript-x | Advisory build | 9.18~dfsg~0-0ubuntu2.7 | USN-3403-1 |
| Ubuntu | xenial | libgs9 | Advisory build | 9.18~dfsg~0-0ubuntu2.7 | USN-3403-1 |
| Ubuntu | xenial | libgs9-common | Advisory build | 9.18~dfsg~0-0ubuntu2.7 | USN-3403-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=cfde94be1d4286bc47633c6e6eaf4e659bd78066
- DSA-3986 http://www.debian.org/security/2017/dsa-3986
- 99991 http://www.securityfocus.com/bid/99991
- https://bugs.ghostscript.com/show_bug.cgi?id=697985
- GLSA-201811-12 https://security.gentoo.org/glsa/201811-12
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e8ed6e642ddab5a3f6096af057defb71502ab09632de92e1f618bf3a7143f674
- Ingested
- 23 Sep 2026, 07:43:10 UTC
- Source record
- Official CVE record