CVE-2016-7568

critical
Published 2016-09-28 · Modified 2026-05-06
CVSS v3
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
7.5
VIR risk
9.8

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

Exploit likelihood
97%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2016-7568

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2016-7568.html

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://github.com/php/php-src/commit/c18263e0e0769faee96a5d0ee04b750c442783c6

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://github.com/libgd/libgd/issues/308

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://github.com/libgd/libgd/commit/40bec0f38f50e8510f5bb71a82f516d46facde03

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://bugs.php.net/bug.php?id=73003

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-201611-19

OS impact

OSVersionStatusFixed in
suse slesaffected
arch archfixed7.0.13-1
debian debianbookwormfixed2.2.3-87-gd0fec80-1
debian debianbullseyefixed2.2.3-87-gd0fec80-1
debian debianforkyfixed2.2.3-87-gd0fec80-1
debian debiansidfixed2.2.3-87-gd0fec80-1
debian debiantrixiefixed2.2.3-87-gd0fec80-1
debian debian8.0affected

Application impact

VendorProductVersionsFixed
libgdlibgd{"endIncluding":"2.2.3"}
php phpphp{"startIncluding":"5.6.0","endIncluding":"5.6.26"}

References

CWEs

CWE-190

Verify integrity in audit chain (admin only). AS-IS.