CVE-2017-9835: artifex ghostscript Integer Overflow or Wraparound
Vulnerability summary
CVE-2017-9835 is a high (CVSS 7.8) Integer Overflow or Wraparound vulnerability in artifex ghostscript. EPSS estimates a 2.79% chance of exploitation in the next 30 days, higher than 86.3% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 6 · Related 3Timeline
- 26-07-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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 metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.79%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
-1.42 pp
From 4.21% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (bugs.ghostscript.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Debian2 products
- ghostscript< 9.22~dfsg-1
- debian_linuxEOL8.0 | 9.0
Artifex1 product
- ghostscript9.21
Ubuntu1 product
- ghostscript< 9.10~dfsg-0ubuntu10.10 | < 9.18~dfsg~0-0ubuntu2.7
3 vendors · 4 products
References
9 links- bugs.ghostscript.com/show_bug.cgi?id=697985X Refsource CONFIRMExploitIssue TrackingThird Party Advisory