Skip to content
OpenAdvisories
Unscored CVE-2014-2497 EUVD-2014-2533GHSA-7x54-3j5f-jcr9

The gdImageCreateFromXpm function in gdxpm.c in libgd, as used in PHP 5.4.26 and earlier, allows remote attackers to cause a denial of serv…

Published Mar 21, 2014 · Updated Aug 6, 2024 · Assigned by mitre

Description

The gdImageCreateFromXpm function in gdxpm.c in libgd, as used in PHP 5.4.26 and earlier, allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted color table in an XPM file.

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-4 —
Debian 13 libgd2 2.1.0-4 —
Debian 12 libgd2 2.1.0-4 —
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-23.el7_0.1 RHSA-2014:1327
RHEL 6 php +26 5.3.3-27.el6_5.2 RHSA-2014:1326
RHEL 5 php53 +20 5.3.3-24.el5 RHSA-2014:1326
RHEL 1 php54-php +24 5.4.16-22.el6 RHSA-2014:1765
RHEL 1 php55-php +26 5.5.6-13.el6 RHSA-2014:1766
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gd 2.2.3-2.1 openSUSE-SU-2024:10062-1
openSUSE Tumbleweed php5 5.6.28-1.1 openSUSE-SU-2024:10344-1
openSUSE Tumbleweed php7 7.0.14-1.4 openSUSE-SU-2024:10290-1
openSUSE Tumbleweed php8 8.0.11-1.1 openSUSE-SU-2024:11169-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 php +24 5.4.16-23.el7_0.1 ELSA-2014-1327

Advisories 12

References