Skip to content
OpenAdvisories
Unscored CVE-2016-6128 EUVD-2016-7062GHSA-x3xg-pxf8-v7j9

The gdImageCropThreshold function in gd_crop.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 7.0.9, allows rem…

Published Aug 7, 2016 · Updated Aug 6, 2024 · Assigned by debian

Description

The gdImageCropThreshold function in gd_crop.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 7.0.9, allows remote attackers to cause a denial of service (application crash) via an invalid color index.

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.2-29-g3c2b605-1 —
Debian 13 libgd2 2.2.2-29-g3c2b605-1 —
Debian 12 libgd2 2.2.2-29-g3c2b605-1 —
Debian 8 libgd2 2.1.0-5+deb8u4 DSA-3619-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS libgd2 2.1.1-4ubuntu0.16.04.2 USN-3030-1
Ubuntu 14.04 LTS libgd2 2.1.0-3ubuntu0.2 USN-3030-1
ReleasePackageFixed inAdvisory
RHEL 2 rh-php56 +2 2.3-1.el6 RHSA-2016:2750
RHEL 2 rh-php56-php +27 5.6.25-1.el6 RHSA-2016:2750
RHEL 2 rh-php56-php-pear 1:1.9.5-4.el6 RHSA-2016:2750
ReleasePackageFixed inAdvisory
SLES 12 SP1 gd 2.1.0-12.1 SUSE-SU-2016:2303-1
SLES 12 SP1 php5 5.5.14-73.1 SUSE-SU-2016:2408-1
SLES 12 SP1 php7 7.0.7-15.1 SUSE-SU-2016:2460-1
SLES 12 php5 5.5.14-73.1 SUSE-SU-2016:2408-1
SLES 12 php7 7.0.7-15.1 SUSE-SU-2016:2460-2, SUSE-SU-2016:2460-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP1 gd 2.1.0-12.1 SUSE-SU-2016:2303-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gd 2.2.3-2.1 openSUSE-SU-2024:10062-1
ReleasePackageFixed inAdvisory
Alpine v3.4 gd 2.2.3-r0 —
Alpine v3.3 gd 2.2.1-r2 —
Alpine v3.2 gd 2.2.1-r2 —

Advisories 8

References