CVE-2017-9835Integer Overflow or Wraparound in Ghostscript

Severity
7.8HIGHNVD
EPSS
0.3%
top 47.91%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJul 26
Latest updateMay 13

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.

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages2 packages

Debianartifex/ghostscript< 9.22~dfsg-1+3

Also affects: Debian Linux 8.0, 9.0

🔴Vulnerability Details

4
GHSA
GHSA-mgmv-54pf-p6jv: The gs_alloc_ref_array function in psi/ialloc2022-05-13
OSV
ghostscript vulnerabilities2017-08-28
CVEList
CVE-2017-9835: The gs_alloc_ref_array function in psi/ialloc2017-07-26
OSV
CVE-2017-9835: The gs_alloc_ref_array function in psi/ialloc2017-07-26

📋Vendor Advisories

3
Ubuntu
Ghostscript vulnerabilities2017-08-28
Red Hat
ghostscript: Heap-buffer over-read in the gs_alloc_ref_array function2017-06-06
Debian
CVE-2017-9835: ghostscript - The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allo...2017

💬Community

2
Bugzilla
CVE-2017-9610 CVE-2017-9611 CVE-2017-9612 CVE-2017-9618 CVE-2017-9619 CVE-2017-9620 CVE-2017-9726 CVE-2017-9727 CVE-2017-9739 CVE-2017-9740 CVE-2017-9835 ghostscript: various flaws [fedora-all]2017-07-27
Bugzilla
CVE-2017-9835 ghostscript: Heap-buffer over-read in the gs_alloc_ref_array function2017-07-27
CVE-2017-9835 — Integer Overflow or Wraparound | cvebase