What’s Vulnerable › Vulnerabilities
CVE-2017-9835
- Severity: high (CVSS 7.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2017-07-26 · updated 2026-06-17
- Weakness: CWE-190
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
- Artifex Ghostscript: 9.21
- Debian Linux: 8.0, 9.0
References
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=cfde94be1d4286bc47633c6e6eaf4e659bd78066
- http://www.debian.org/security/2017/dsa-3986
- http://www.securityfocus.com/bid/99991
- https://bugs.ghostscript.com/show_bug.cgi?id=697985
- https://security.gentoo.org/glsa/201811-12
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=cfde94be1d4286bc47633c6e6eaf4e659bd78066
- http://www.debian.org/security/2017/dsa-3986
- http://www.securityfocus.com/bid/99991
- https://bugs.ghostscript.com/show_bug.cgi?id=697985
- https://security.gentoo.org/glsa/201811-12
Get alerted when CVE-2017-9835 or the next vulnerability affects your stack