Libgd · Gd Graphics Library · CVE-2016-5767
**Name of the Vulnerable Software and Affected Versions**
GD Graphics Library versions prior to 2.0.34RC1
PHP versions prior to 5.5.37
PHP versions 5.6.x prior to 5.6.23
PHP versions 7.x prior to 7.0.8
**Description**
The issue is related to an integer overflow in the `gdImageCreate` function, which can be exploited by remote attackers using crafted image dimensions. This can lead to a denial of service, causing a heap-based buffer overflow and application crash, or possibly have other unspecified impacts.
**Recommendations**
For GD Graphics Library versions prior to 2.0.34RC1, update to version 2.0.34RC1 or later.
For PHP versions prior to 5.5.37, update to version 5.5.37 or later.
For PHP versions 5.6.x prior to 5.6.23, update to version 5.6.23 or later.
For PHP versions 7.x prior to 7.0.8, update to version 7.0.8 or later.