Incorrect Type Conversion or Cast Affecting ghostscript package, versions <9.18~dfsg~0-0ubuntu2.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
6.28% (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-UBUNTU1604-GHOSTSCRIPT-381663
  • 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.04 ghostscript to version 9.18dfsg0-0ubuntu2.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.04 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.