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.
Metrics
CVSS 3.0 7.8/10
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=cfde94be1d4286bc47633c6e6eaf4e659bd78066
- http://www.debian.org/security/2017/dsa-3986Third Party Advisory
- http://www.securityfocus.com/bid/99991Third Party Advisory, VDB Entry
- https://bugs.ghostscript.com/show_bug.cgi?id=697985Exploit, Issue Tracking, Third Party Advisory
- https://security.gentoo.org/glsa/201811-12Third Party Advisory
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=cfde94be1d4286bc47633c6e6eaf4e659bd78066
- http://www.debian.org/security/2017/dsa-3986Third Party Advisory
- http://www.securityfocus.com/bid/99991Third Party Advisory, VDB Entry
- https://bugs.ghostscript.com/show_bug.cgi?id=697985Exploit, Issue Tracking, Third Party Advisory
- https://security.gentoo.org/glsa/201811-12Third Party Advisory
Timeline
- Published
- Jul 26, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified