Skip to content
OpenAdvisories
Unscored CVE-2016-7568 EUVD-2016-8421GHSA-fphp-jmfp-4vj9

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 Sep 28, 2016 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libgd2 2.2.3-87-gd0fec80-1 —
Debian 13 libgd2 2.2.3-87-gd0fec80-1 —
Debian 12 libgd2 2.2.3-87-gd0fec80-1 —
Debian 8 libgd2 2.1.0-5+deb8u7 DSA-3693-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS libgd2 2.1.1-4ubuntu0.16.04.5 USN-3117-1
Ubuntu 14.04 LTS libgd2 2.1.0-3ubuntu0.5 USN-3117-1
ReleasePackageFixed inAdvisory
SLES 12 SP1 gd 2.1.0-17.1 SUSE-SU-2016:2668-1
SLES 12 SP1 php5 5.5.14-83.1 SUSE-SU-2016:2766-1
SLES 12 SP1 php7 7.0.7-20.1 SUSE-SU-2016:2683-1
SLES 12 php5 5.5.14-83.1 SUSE-SU-2016:2766-1
SLES 12 php7 7.0.7-20.1 SUSE-SU-2016:2683-2, SUSE-SU-2016:2683-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP1 gd 2.1.0-17.1 SUSE-SU-2016:2668-1
ReleasePackageFixed inAdvisory
Alpine v3.4 gd 2.2.3-r1 —

Advisories 6

References