Skip to content
Fencer Vulns
critical 9.8

CVE-2016-7568 in the critical feed json

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…

published 2016-09-28 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-8421

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.1%
EPSS 5.1% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

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.

Patch / fix

  • libgd2 Debian 14, Debian 13, Debian 12 2.2.3-87-gd0fec80-1

debian advisories DEBIAN-CVE-2016-7568

  • libgd2 Ubuntu 14.04 LTS 2.1.0-3ubuntu0.5
  • libgd2 Ubuntu 16.04 LTS 2.1.1-4ubuntu0.16.04.5

ubuntu advisories UBUNTU-CVE-2016-7568

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • php5 SLE Software Development Kit 12 SP1, SLE Module for Web and Scripting 12 5.5.14-83.1
  • php7 SLE Software Development Kit 12 SP1, SLE Module for Web and Scripting 12 7.0.7-20.1
  • gd SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +2 more 2.1.0-17.1

suse advisories SUSE-SU-2016:2766-1SUSE-SU-2016:2683-1SUSE-SU-2016:2683-2SUSE-SU-2016:2668-1

  • gd Alpine 3.4 2.2.3-r1

alpine advisories ALPINE-CVE-2016-7568

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • php Arch Linux 7.0.13-1

arch linux advisories AVG-58

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-7568 updated cvss 7.1

php: Integer overflow in gdImageWebpCtx

  • Red Hat Enterprise Linux 5 gd, php, php53 Red Hat Enterprise Linux 6 gd, php, php-gd, php-cli, php-dba, php-fpm, +22 more Red Hat Enterprise Linux 7 gd, php, php-gd, php-cli, php-dba, php-fpm, +20 more Red Hat OpenShift Enterprise 2 gd, php Red Hat Software Collections php54-php, php55-php, php54-php-gd, php55-php-gd, rh-php56-php, rh-php70-php, +102 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

5.10% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.