HIGH · 8.8

CVE-2016-5766

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote a...

Vulnerability Description

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via crafted chunk dimensions in an image.

CVSS Score

8.8

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
RedhatOpenshift2.0
FreebsdFreebsd8.3
RedhatEnterprise Linux6.0
LibgdLibgd2.2.2
PhpPhp<= 5.5.36
FedoraprojectFedora23
DebianDebian Linux8.0

Related Weaknesses (CWE)

References

FAQ

What is CVE-2016-5766?

CVE-2016-5766 is a vulnerability with a CVSS score of 8.8 (HIGH). Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote a...

How severe is CVE-2016-5766?

CVE-2016-5766 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2016-5766?

Check the references section above for vendor advisories and patch information. Affected products include: Redhat Openshift, Freebsd Freebsd, Redhat Enterprise Linux, Libgd Libgd, Php Php.