Integer overflow in Libgd
CVE-2016-7568
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.051, 92.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libgd
- PHP
- Debian Linux — versions 8.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (syadg123/pigat, teamssix/pigat). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/php/php-src/commit/c18263e0e0769faee96a5d0ee04b750c442783c6 (Patch, Third Party Advisory, Issue Tracking)
- DSA-3693 (vendor-advisory, Third Party Advisory)
- GLSA-201612-09 (vendor-advisory, Third Party Advisory)
- bugs.php.net/bug.php (Issue Tracking, Vendor Advisory)
- github.com/libgd/libgd/issues/308 (Patch, Third Party Advisory, Issue Tracking)
- github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03 (Patch, Third Party Advisory, Issue Tracking)
- www.securityfocus.com/bid/93184 (Third Party Advisory, VDB Entry, vdb-entry)