CVE-2017-9835: Artifex Ghostscript

High severity, CVSS 7.8. EPSS: 2.8% chance of exploitation in the next 30 days.

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: version 9.21 only
  • Debian Debian Linux: version 8.0 only; version 9.0 only

Published 2017-07-26. Last modified 2026-06-17.