What’s Vulnerable › Vulnerabilities
CVE-2016-8670
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2017-01-04 · updated 2026-06-17
- Weakness: CWE-119
Description
Integer signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a crafted imagecreatefromstring call.
Affected products
- Libgd: through 2.2.3
References
- http://www.debian.org/security/2016/dsa-3693
- http://www.openwall.com/lists/oss-security/2016/10/15/1
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/ChangeLog-7.php
- http://www.securityfocus.com/bid/93594
- https://bugs.php.net/bug.php?id=73280
- https://github.com/libgd/libgd/commit/53110871935244816bbb9d131da0bccff734bfe9
- https://support.f5.com/csp/article/K21336065?utm_source=f5support&%3Butm_medium=RSS
- http://www.debian.org/security/2016/dsa-3693
- http://www.openwall.com/lists/oss-security/2016/10/15/1
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/ChangeLog-7.php
Get alerted when CVE-2016-8670 or the next vulnerability affects your stack