Incorrect Type Conversion or Cast Affecting ghostscript package, versions <9.19~dfsg+1-0ubuntu6.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
7.11% (94th 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-UBUNTU1610-GHOSTSCRIPT-381664
  • published14 Apr 2017
  • disclosed14 Apr 2017

Introduced: 14 Apr 2017

CVE-2016-8602  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.10 ghostscript to version 9.19~dfsg+1-0ubuntu6.2 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 Ubuntu. See How to fix? for Ubuntu:16.10 relevant fixed versions and status.

The .sethalftone5 function in psi/zht2.c in Ghostscript before 9.21 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted Postscript document that calls .sethalftone5 with an empty operand stack.