CVE-2016-8602
published 2017-04-14CVE-2016-8602: 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…
PriorityP336high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
3.21%
86.8th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | <= 9.20 | — |
| artifex | ghostscript | >= 0 < 9.19~dfsg-3.1 | 9.19~dfsg-3.1 |
| artifex | ghostscript | >= 0 < 9.19~dfsg-3.1 | 9.19~dfsg-3.1 |
| artifex | ghostscript | >= 0 < 9.19~dfsg-3.1 | 9.19~dfsg-3.1 |
| artifex | ghostscript | >= 0 < 9.19~dfsg-3.1 | 9.19~dfsg-3.1 |
| artifex | ghostscript | >= 0 < 9.10~dfsg-0ubuntu10.5 | 9.10~dfsg-0ubuntu10.5 |
| artifex | ghostscript | >= 0 < 9.18~dfsg~0-0ubuntu2.2 | 9.18~dfsg~0-0ubuntu2.2 |
| debian | ghostscript | < ghostscript 9.19~dfsg-3.1 (bookworm) | ghostscript 9.19~dfsg-3.1 (bookworm) |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Ghostscript vulnerabilities
vendor_ubuntu·2016-12-02·CVSS 5.5
CVE-2013-5653 [MEDIUM] Ghostscript vulnerabilities
Title: Ghostscript vulnerabilities
Summary: Ghostscript could be made to crash, run programs, or disclose sensitive
information if it processed a specially crafted file.
Tavis Ormandy discovered multiple vulnerabilities in the way that Ghostscript
processes certain Postscript files. If a user or automated system were tricked
into opening a specially crafted file, an attacker could cause a denial of
service or possibly execute arbitrary code. (CVE-2016-7976, CVE-2016-7978,
CVE-2016-7979, CVE-2016-8602)
Multiple vulnerabilities were discovered in Ghostscript related to information
disclosure. If a user or automated system were tricked into opening a specially
crafted file, an attacker could expose sensitive data. (CVE-2013-5653,
CVE-2016-7977)
Instructions: In general, a standard system
Red Hat
ghostscript: check for sufficient params in .sethalftone5
vendor_redhat·2016-10-08·CVSS 7.8
CVE-2016-8602 [HIGH] CWE-20 ghostscript: check for sufficient params in .sethalftone5
ghostscript: check for sufficient params in .sethalftone5
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.
It was found that ghostscript did not sufficiently check the validity of parameters given to the .sethalftone5 function. A specially crafted postscript document could cause a crash, or execute arbitrary code in the context of the gs process.
Package: ghostscript (Red Hat Enterprise Linux 5) - Will not fix
Package: ghostscript (Red Hat OpenShift Enterprise 2) - Will not fix
Debian
CVE-2016-8602: ghostscript - The .sethalftone5 function in psi/zht2.c in Ghostscript before 9.21 allows remot...
vendor_debian·2016·CVSS 7.8
CVE-2016-8602 [HIGH] CVE-2016-8602: ghostscript - The .sethalftone5 function in psi/zht2.c in Ghostscript before 9.21 allows remot...
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.
Scope: local
bookworm: resolved (fixed in 9.19~dfsg-3.1)
bullseye: resolved (fixed in 9.19~dfsg-3.1)
forky: resolved (fixed in 9.19~dfsg-3.1)
sid: resolved (fixed in 9.19~dfsg-3.1)
trixie: resolved (fixed in 9.19~dfsg-3.1)
GHSA
GHSA-m22m-c5xc-v6jq: The
ghsa_unreviewed·2022-05-14
CVE-2016-8602 [HIGH] CWE-704 GHSA-m22m-c5xc-v6jq: The
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.
OSV
CVE-2016-8602: The
osv·2017-04-14·CVSS 7.8
CVE-2016-8602 [HIGH] CVE-2016-8602: The
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.
OSV
ghostscript vulnerabilities
osv·2016-12-02·CVSS 5.5
CVE-2016-7976 [MEDIUM] ghostscript vulnerabilities
ghostscript vulnerabilities
Tavis Ormandy discovered multiple vulnerabilities in the way that Ghostscript
processes certain Postscript files. If a user or automated system were tricked
into opening a specially crafted file, an attacker could cause a denial of
service or possibly execute arbitrary code. (CVE-2016-7976, CVE-2016-7978,
CVE-2016-7979, CVE-2016-8602)
Multiple vulnerabilities were discovered in Ghostscript related to information
disclosure. If a user or automated system were tricked into opening a specially
crafted file, an attacker could expose sensitive data. (CVE-2013-5653,
CVE-2016-7977)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-8602 ghostscript: check for sufficient params in .sethalftone5 [fedora-all]
bugzilla·2016-10-12·CVSS 7.8
CVE-2016-8602 [HIGH] CVE-2016-8602 ghostscript: check for sufficient params in .sethalftone5 [fedora-all]
CVE-2016-8602 ghostscript: check for sufficient params in .sethalftone5 [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versi
Bugzilla
CVE-2016-8602 ghostscript: check for sufficient params in .sethalftone5
bugzilla·2016-10-12·CVSS 7.8
CVE-2016-8602 [HIGH] CVE-2016-8602 ghostscript: check for sufficient params in .sethalftone5
CVE-2016-8602 ghostscript: check for sufficient params in .sethalftone5
If you call .sethalftone5 with an empty operand stack, ghostscript crashes. This flaw could be exploitable
Upstream bug :
- Bug 697203 - NULL dereference in .sethalftone5
http://bugs.ghostscript.com/show_bug.cgi?id=697203
Upstream patch :
- Bug 697203: check for sufficient params in .sethalftone5
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f5c7555c303
Reference :
http://seclists.org/oss-sec/2016/q4/98
Discussion:
Created ghostscript tracking bugs for this issue:
Affects: fedora-all [bug 1383941]
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 6
Via RHSA-2017:0014 https://rhn.redhat.com/errata/RHSA-2017-0014.html
---
This issue has been addressed in the fo
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=f5c7555c303http://rhn.redhat.com/errata/RHSA-2017-0013.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0014.htmlhttp://www.debian.org/security/2016/dsa-3691http://www.openwall.com/lists/oss-security/2016/10/11/5http://www.openwall.com/lists/oss-security/2016/10/11/7http://www.securityfocus.com/bid/95311https://bugs.ghostscript.com/show_bug.cgi?id=697203https://bugzilla.redhat.com/show_bug.cgi?id=1383940https://ghostscript.com/doc/9.21/History9.htmhttps://security.gentoo.org/glsa/201702-31http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=f5c7555c303http://rhn.redhat.com/errata/RHSA-2017-0013.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0014.htmlhttp://www.debian.org/security/2016/dsa-3691http://www.openwall.com/lists/oss-security/2016/10/11/5http://www.openwall.com/lists/oss-security/2016/10/11/7http://www.securityfocus.com/bid/95311https://bugs.ghostscript.com/show_bug.cgi?id=697203https://bugzilla.redhat.com/show_bug.cgi?id=1383940https://ghostscript.com/doc/9.21/History9.htmhttps://security.gentoo.org/glsa/201702-31
2017-04-14
Published