CVE-2016-8602
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in, but needs a user to act. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 3.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.2% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.2% · EPSS, next 30 days
- Weakness
- CWE-704
- Record status
- Modified
Affected
- Artifex Ghostscript ≤ 9.20
Attack profile CVSS 3.0 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-8602.md and follow it. Check whether this project is affected by CVE-2016-8602. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.openwall.com/lists/oss-security/2016/10/11/5
- http://www.openwall.com/lists/oss-security/2016/10/11/7
- https://bugs.ghostscript.com/show_bug.cgi?id=697203
- https://bugzilla.redhat.com/show_bug.cgi?id=1383940
- https://ghostscript.com/doc/9.21/History9.htm
- http://www.openwall.com/lists/oss-security/2016/10/11/5
- http://www.openwall.com/lists/oss-security/2016/10/11/7
- https://bugs.ghostscript.com/show_bug.cgi?id=697203
- https://bugzilla.redhat.com/show_bug.cgi?id=1383940
- https://ghostscript.com/doc/9.21/History9.htm
References
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=f5c7555c303
- http://rhn.redhat.com/errata/RHSA-2017-0013.html
- http://rhn.redhat.com/errata/RHSA-2017-0014.html
- http://www.debian.org/security/2016/dsa-3691
- http://www.openwall.com/lists/oss-security/2016/10/11/5
- http://www.openwall.com/lists/oss-security/2016/10/11/7
- http://www.securityfocus.com/bid/95311
- https://bugs.ghostscript.com/show_bug.cgi?id=697203
- https://bugzilla.redhat.com/show_bug.cgi?id=1383940
- https://ghostscript.com/doc/9.21/History9.htm
- https://security.gentoo.org/glsa/201702-31
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=f5c7555c303
- http://rhn.redhat.com/errata/RHSA-2017-0013.html
- http://rhn.redhat.com/errata/RHSA-2017-0014.html
- http://www.debian.org/security/2016/dsa-3691
- http://www.openwall.com/lists/oss-security/2016/10/11/5
- http://www.openwall.com/lists/oss-security/2016/10/11/7
- http://www.securityfocus.com/bid/95311
- https://bugs.ghostscript.com/show_bug.cgi?id=697203
- https://bugzilla.redhat.com/show_bug.cgi?id=1383940
- https://ghostscript.com/doc/9.21/History9.htm
- https://security.gentoo.org/glsa/201702-31