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…

CVE-2016-7568 affects 1 listed version of PHP in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
5%EPSS (next 30 days)
28 September 2016published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

PHP

1 of 250 listed versions are affected. No fixed release is named. The newest release, 8.6.0, is not affected.

5.6.26

What it is

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 28 September 2016. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2016-7568 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.