CVE-2016-6128 Denial of service in n/a

High 7.5 Published Updated

Remote attackers can crash the application via an invalid color index in the GD Graphics Library, affecting systems using libgd or PHP.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-6128?

CVE-2016-6128 is a high-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 7 Aug 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The gdImageCropThreshold function in gd_crop.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 7.0.9, allows remote attackers to cause a denial of service (application crash) via an invalid color index.

Weakness: CWE-20

Which versions are affected by CVE-2016-6128?

It affects 4 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Libgd Libgd, Opensuse Leap.

How do I fix CVE-2016-6128?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2016-6128 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2016-6128, DEBIAN-CVE-2016-6128, GHSA-x3xg-pxf8-v7j9, UBUNTU-CVE-2016-6128.

Is CVE-2016-6128 in your software?

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

Check your SBOMs for free