Name | CVE-2017-9835 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1048-1, DSA-3986-1 |
Debian Bugs | 869907 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ghostscript (PTS) | jessie, jessie (lts) | 9.26a~dfsg-0+deb8u12 | fixed |
| stretch (security) | 9.26a~dfsg-0+deb9u9 | fixed |
| stretch (lts), stretch | 9.26a~dfsg-0+deb9u12 | fixed |
| buster (security), buster, buster (lts) | 9.27~dfsg-2+deb10u9 | fixed |
| bullseye (security), bullseye | 9.53.3~dfsg-7+deb11u7 | fixed |
| bookworm | 10.0.0~dfsg-11+deb12u4 | fixed |
| bookworm (security) | 10.0.0~dfsg-11+deb12u5 | fixed |
| trixie, sid | 10.03.1~dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://bugs.ghostscript.com/show_bug.cgi?id=697985
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=cfde94be1d4286bc47633c6e6eaf4e659bd78066 (ghostpdl-9.22rc1)