Skip to content
OpenAdvisories
Unscored CVE-2014-9709 EUVD-2014-9516GHSA-p5p8-3769-2g8g

The GetCode_ function in gd_gif_in.c in GD 2.1.1 and earlier, as used in PHP before 5.5.21 and 5.6.x before 5.6.5, allows remote attackers …

Published Mar 30, 2015 · Updated Aug 6, 2024 · Assigned by mitre

Description

The GetCode_ function in gd_gif_in.c in GD 2.1.1 and earlier, as used in PHP before 5.5.21 and 5.6.x before 5.6.5, allows remote attackers to cause a denial of service (buffer over-read and application crash) via a crafted GIF image that is improperly handled by the gdImageCreateFromGif function.

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.1.0-5 —
Debian 13 libgd2 2.1.0-5 —
Debian 12 libgd2 2.1.0-5 —
Debian 7 libgd2 2.0.36~rc1~dfsg-6.1+deb7u1 DSA-3215-1
Debian 6.0 libgd2 2.0.36~rc1~dfsg-5+deb6u1 DLA-189-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS libgd2 2.1.1-4ubuntu0.16.04.1 USN-2987-1
Ubuntu 14.04 LTS libgd2 2.1.0-3ubuntu0.1 USN-2987-1
ReleasePackageFixed inAdvisory
RHEL 7 php +24 5.4.16-36.ael7b_1 RHSA-2015:1135
RHEL 6 php +26 5.3.3-46.el6_6 RHSA-2015:1218
RHEL 2 php54 +5 2.0-1.el6 RHSA-2015:1066, RHSA-2015:1053
RHEL 2 php54-php +24 5.4.40-1.el6 RHSA-2015:1066
RHEL 2 php54-php-pecl-zendopcache 7.0.4-3.el6 RHSA-2015:1066
RHEL 2 php55-php +26 5.5.21-2.el6 RHSA-2015:1053
ReleasePackageFixed inAdvisory
SLES 12 SP5 php74 7.4.33-1.50.2 SUSE-SU-2023:0072-1
SLES 12 gd 2.1.0-5.1 SUSE-SU-2015:0866-1
SLES 12 php5 5.5.14-22.1 SUSE-SU-2015:0868-1
SLES 12 php74 7.4.33-1.50.2 SUSE-SU-2023:0072-1
SLES 11 SP2 php53 5.3.17-47.1 SUSE-SU-2016:1638-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 gd 2.1.0-5.1 SUSE-SU-2015:0866-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 php +24 5.4.16-36.el7_1 ELSA-2015-1135
Oracle Linux 7 php54 +5 2.0-1.el7 ELSA-2015-1066, ELSA-2015-1053
Oracle Linux 7 php54-php +22 5.4.40-1.el7 ELSA-2015-1066
Oracle Linux 7 php54-php-imap +1 5.4.40-1.el6 ELSA-2015-1066
Oracle Linux 7 php54-php-pecl-zendopcache 7.0.4-3.el7 ELSA-2015-1066
Oracle Linux 7 php55-php +26 5.5.21-2.0.1.el6 ELSA-2015-1053

Advisories 17

References