Vulnerabilities / CVE-2016-7568

critical

CVE-2016-7568

php: Integer overflow in gdImageWebpCtx

Published Modified CWE 190
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.1CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.4gd2.2.3-r1
debian 11libgd22.2.3-87-gd0fec80-1
debian 12libgd22.2.3-87-gd0fec80-1
debian 13libgd22.2.3-87-gd0fec80-1
debian 14libgd22.2.3-87-gd0fec80-1
debian 8libgd2, php52.1.0-5+deb8u7 and 1 more
echolibgd22.2.3-87-gd0fec80-1
ubuntu 14.04libgd22.1.0-3ubuntu0.5
ubuntu 14.04-ESMlibgd22.1.0-3ubuntu0.5
ubuntu 16.04libgd22.1.1-4ubuntu0.16.04.5
ubuntu 16.04-ESMlibgd22.1.1-4ubuntu0.16.04.5
ubuntu 16.10libgd22.2.1-1ubuntu3.2
Show all 13 entries from 12 sources
SourcePackageFixed in
alpine 3.4gd2.2.3-r1
debian 11libgd22.2.3-87-gd0fec80-1
debian 12libgd22.2.3-87-gd0fec80-1
debian 13libgd22.2.3-87-gd0fec80-1
debian 14libgd22.2.3-87-gd0fec80-1
debian 8libgd22.1.0-5+deb8u7
debian 8php55.6.27+dfsg-0+deb8u1
echolibgd22.2.3-87-gd0fec80-1
ubuntu 14.04libgd22.1.0-3ubuntu0.5
ubuntu 14.04-ESMlibgd22.1.0-3ubuntu0.5
ubuntu 16.04libgd22.1.1-4ubuntu0.16.04.5
ubuntu 16.04-ESMlibgd22.1.1-4ubuntu0.16.04.5
ubuntu 16.10libgd22.2.1-1ubuntu3.2

References

All 11 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.