CVE-2016-7568
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.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
5.101%
chance of exploitation in the next 30 days
higher than 92.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-190: Integer Overflow or Wraparound
Timeline
- 2016-09-28Published by the CNA20:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| libgd libgd | through 2.2.3no fix listed | not listed |
| php php | from 5.6.0 through 5.6.26no fix listedfrom 7.0.0 through 7.0.11no fix listed | not listednot listed |
| debian debian_linux | 8.0no fix listed | not listed |
References
- https://github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03
- https://github.com/libgd/libgd/issues/308
- https://github.com/php/php-src/commit/c18263e0e0769faee96a5d0ee04b750c442783c6
- http://www.debian.org/security/2016/dsa-3693
- https://bugs.php.net/bug.php?id=73003
- https://security.gentoo.org/glsa/201612-09
- http://www.securityfocus.com/bid/93184
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2016-7568'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2016-7568'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2016-7568'curl 'https://api.contrastcyber.com/cve_products/CVE-2016-7568'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).