CVE-2016-8602 Memory corruption in n/a

High 7.8 Published Updated

Remote attackers can cause application crashes or execute arbitrary code via a crafted PostScript document exploiting a stack handling error in Ghostscript.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-8602?

CVE-2016-8602 is a high-severity memory corruption vulnerability in Artifex Ghostscript, published on 14 Apr 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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: CWE-704

Which versions are affected by CVE-2016-8602?

It affects 1 product.

Linux distribution packages (7)
ghostscript SUSE:Linux Enterprise Desktop 12 SP1All versions9.15-14.1
ghostscript-library SUSE:Linux Enterprise Server 11 SP4All versions8.62-32.41.1
ghostscript SUSE:Linux Enterprise Server 12 SP1All versions9.15-14.1
ghostscript-library SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions8.62-32.41.1
ghostscript SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions9.15-14.1
ghostscript-library SUSE:Linux Enterprise Software Development Kit 11 SP4All versions8.62-32.41.1
ghostscript SUSE:Linux Enterprise Software Development Kit 12 SP1All versions9.15-14.1

Products include Artifex Ghostscript.

How do I fix CVE-2016-8602?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2016-8602 being exploited?

There is no known exploitation of CVE-2016-8602 in the wild and no public exploit code.

All Artifex Ghostscript vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-8602, GHSA-m22m-c5xc-v6jq, SUSE-SU-2016:2654-1, SUSE-SU-2016:2723-1, UBUNTU-CVE-2016-8602.

Is CVE-2016-8602 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free