Integer Overflow or Wraparound Affecting ghostscript package, versions <9.22~dfsg-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.43% (75th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-GHOSTSCRIPT-515791
  • published26 Jul 2017
  • disclosed26 Jul 2017

Introduced: 26 Jul 2017

CVE-2017-9835  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Debian:11 ghostscript to version 9.22~dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ghostscript package and not the ghostscript package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.