Name | CVE-2014-2497 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-189-1, DSA-3215-1 |
Debian Bugs | 744719 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libgd2 (PTS) | bullseye | 2.3.0-2 | fixed |
| bookworm | 2.3.3-9 | fixed |
| sid, trixie | 2.3.3-12 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libgd2 | source | squeeze | 2.0.36~rc1~dfsg-5+deb6u1 | | DLA-189-1 | |
libgd2 | source | wheezy | 2.0.36~rc1~dfsg-6.1+deb7u1 | | DSA-3215-1 | |
libgd2 | source | (unstable) | 2.1.0-4 | low | | 744719 |
php5 | source | squeeze | (not affected) | | | |
php5 | source | wheezy | (not affected) | | | |
php5 | source | (unstable) | 5.6.0~rc4+dfsg-1 | | | |
Notes
[wheezy] - php5 <not-affected> (imagecreatefromxpm function not in used gd extension)
[squeeze] - php5 <not-affected> (imagecreatefromxpm function not in used gd extension)
http://web.archive.org/web/20150221193227/http://net-ninja-mr.me/2014/03/14/php-gd-v5-4-17-2-color-visual-null-pointer-dereference/