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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2016-7568
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2016-7568.html
Vendor advisory: cve@mitre.org — https://github.com/php/php-src/commit/c18263e0e0769faee96a5d0ee04b750c442783c6
Vendor advisory: cve@mitre.org — https://github.com/libgd/libgd/issues/308
Vendor advisory: cve@mitre.org — https://github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03
Vendor advisory: cve@mitre.org — https://bugs.php.net/bug.php?id=73003
Vendor advisory: arch — https://security.archlinux.org/ASA-201611-19
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| arch | fixed | 7.0.13-1 | |
| debian | bookworm | fixed | 2.2.3-87-gd0fec80-1 |
| debian | bullseye | fixed | 2.2.3-87-gd0fec80-1 |
| debian | forky | fixed | 2.2.3-87-gd0fec80-1 |
| debian | sid | fixed | 2.2.3-87-gd0fec80-1 |
| debian | trixie | fixed | 2.2.3-87-gd0fec80-1 |
| debian | 8.0 | affected | |
References
- https://security.archlinux.org/ASA-201611-19
- 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
- https://www.suse.com/security/cve/CVE-2016-7568.html
- https://security-tracker.debian.org/tracker/CVE-2016-7568
CWEs
CWE-190
Verify integrity in audit chain (admin only). AS-IS.