CVE Vulnerabilities

CVE-2016-8602

Incorrect Type Conversion or Cast

Published: Apr 14, 2017 | Modified: Nov 21, 2024
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
5.1 MODERATE
AV:N/AC:H/Au:N/C:P/I:P/A:P
RedHat/V3
5.8 MODERATE
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
Ubuntu
MEDIUM

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.

Weakness

The product does not correctly convert an object, resource, or structure from one type to a different type.

Affected Software

Name Vendor Start Version End Version
Ghostscript Artifex * 9.20 (including)
Red Hat Enterprise Linux 6 RedHat ghostscript-0:8.70-21.el6_8.1 *
Red Hat Enterprise Linux 7 RedHat ghostscript-0:9.07-20.el7_3.1 *
Ghostscript Ubuntu devel *
Ghostscript Ubuntu precise *
Ghostscript Ubuntu trusty *
Ghostscript Ubuntu upstream *
Ghostscript Ubuntu xenial *
Ghostscript Ubuntu yakkety *

References