CVE-2016-6128

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.

Category

7.5
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 13.68% Top 10%
Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory redhat.com Vendor Advisory gentoo.org Vendor Advisory debian.org Vendor Advisory ubuntu.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://lists.opensuse.org/opensuse-updates/2016-08/msg00086.html mailing list third party advisory vendor advisory
http://www.openwall.com/lists/oss-security/2016/06/30/1 third party advisory mailing list
http://www.securityfocus.com/bid/91509 vdb entry third party advisory
https://libgd.github.io/release-2.2.3.html third party advisory release notes
https://bugs.php.net/72494 issue tracking permissions required
http://lists.opensuse.org/opensuse-updates/2016-09/msg00078.html mailing list third party advisory vendor advisory
http://rhn.redhat.com/errata/RHSA-2016-2750.html third party advisory vendor advisory
http://www.securitytracker.com/id/1036276 vdb entry third party advisory
https://github.com/libgd/libgd/commit/6ff72ae40c7c20ece939afb362d98cc37f4a1c96 issue tracking third party advisory
https://security.gentoo.org/glsa/201612-09 third party advisory vendor advisory
http://www.debian.org/security/2016/dsa-3619 third party advisory vendor advisory
http://www.ubuntu.com/usn/USN-3030-1 third party advisory vendor advisory
https://github.com/libgd/libgd/commit/1ccfe21e14c4d18336f9da8515cd17db88c3de61 issue tracking third party advisory patch

Frequently Asked Questions

What is the severity of CVE-2016-6128?
CVE-2016-6128 has been scored as a high severity vulnerability.
How to fix CVE-2016-6128?
To fix CVE-2016-6128, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2016-6128 being actively exploited in the wild?
It is possible that CVE-2016-6128 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~14% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.