What’s Vulnerable › Vulnerabilities
CVE-2016-7568
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2016-09-28 · updated 2026-06-17
- Weakness: CWE-190
Description
Integer overflow in the gdImageWebpCtx function in gd_webp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP through 7.0.11, allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via crafted imagewebp and imagedestroy calls.
Affected products
- Debian Linux: 8.0
- Libgd: through 2.2.3
- PHP: from 5.6.0 through 5.6.26; from 7.0.0 through 7.0.11
References
- http://www.debian.org/security/2016/dsa-3693
- http://www.securityfocus.com/bid/93184
- https://bugs.php.net/bug.php?id=73003
- https://github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03
- https://github.com/libgd/libgd/issues/308
- https://github.com/php/php-src/commit/c18263e0e0769faee96a5d0ee04b750c442783c6
- https://security.gentoo.org/glsa/201612-09
- http://www.debian.org/security/2016/dsa-3693
- http://www.securityfocus.com/bid/93184
- https://bugs.php.net/bug.php?id=73003
- https://github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03
- https://github.com/libgd/libgd/issues/308
Get alerted when CVE-2016-7568 or the next vulnerability affects your stack