CVE-2016-7568
CRITICAL severity · CVSS 9.8 · Integer overflow
9.8CVSS CRITICAL
Summary
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.
Impact & exploitability
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit probability (EPSS)5%
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: https://github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03 ↗
Additional information
- NVD record
- https://github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03Patch
- https://github.com/libgd/libgd/issues/308Patch
- https://github.com/php/php-src/commit/c18263e0e0769faee96a5d0ee04b750c442783c6Patch
- https://bugs.php.net/bug.php?id=73003Advisory
- http://www.debian.org/security/2016/dsa-3693Advisory
- http://www.securityfocus.com/bid/93184Advisory
- https://security.gentoo.org/glsa/201612-09Advisory