CVE-2014-2497 json
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 2014-03-21 12 y ago modified 2026-06-17 4 mo ago also EUVD-2014-2533
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 20.3%
- EPSS 20.3% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- php php 5.4.32, 5.5.16
- libgd2 Debian 14, Debian 13, Debian 12 2.1.0-4
debian advisories DEBIAN-CVE-2014-2497
- libgd2 Ubuntu 14.04 LTS 2.1.0-3ubuntu0.1
ubuntu advisories UBUNTU-CVE-2014-2497
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- php RHEL 7 5.4.16-23.el7_0.1
- php-gd RHEL 7 5.4.16-23.el7_0.1
- php-cli RHEL 7 5.4.16-23.el7_0.1
- php-dba RHEL 7 5.4.16-23.el7_0.1
- php-fpm RHEL 7 5.4.16-23.el7_0.1
- php-pdo RHEL 7 5.4.16-23.el7_0.1
- php-xml RHEL 7 5.4.16-23.el7_0.1
- php-intl RHEL 7 5.4.16-23.el7_0.1
red hat advisories RHSA-2014:1327RHSA-2014:1326RHSA-2014:1766RHSA-2014:1765
- gd openSUSE Tumbleweed 2.2.3-2.1
- php7 openSUSE Tumbleweed 7.0.14-1.4
- php5 openSUSE Tumbleweed 5.6.28-1.1
- php8 openSUSE Tumbleweed 8.0.11-1.1
opensuse advisories openSUSE-SU-2024:10062-1openSUSE-SU-2024:10290-1openSUSE-SU-2024:10344-1openSUSE-SU-2024:11169-1
- bugzilla.redhat.com/show_bug.cgi?id=1076676 advisory
- bugs.php.net/bug.php?id=66901 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2014-2497 updated cvss 2.6
gd: NULL pointer dereference in gdImageCreateFromXpm()
-
Red Hat Enterprise Linux 5 gd Red Hat Enterprise Linux 6 gd, gd-progs Red Hat Enterprise Linux 7 gd, gd-progsaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux (v. 5 server) php53 5.3.3-24.el5, php53-gd 5.3.3-24.el5, php53-cli 5.3.3-24.el5, php53-dba 5.3.3-24.el5, php53-pdo 5.3.3-24.el5, php53-xml 5.3.3-24.el5, +14 morefixed: vendor fix RHSA-2014:1326
-
Red Hat Enterprise Linux Client Optional (v. 7) php 5.4.16-23.el7_0.1, php-gd 5.4.16-23.el7_0.1, php-cli 5.4.16-23.el7_0.1, php-dba 5.4.16-23.el7_0.1, php-fpm 5.4.16-23.el7_0.1, php-pdo 5.4.16-23.el7_0.1, +18 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) php 5.4.16-23.el7_0.1, php-gd 5.4.16-23.el7_0.1, php-cli 5.4.16-23.el7_0.1, php-dba 5.4.16-23.el7_0.1, php-fpm 5.4.16-23.el7_0.1, php-pdo 5.4.16-23.el7_0.1, +18 morefixed: vendor fix RHSA-2014:1327
-
Red Hat Enterprise Linux Desktop Optional (v. 6) php 5.3.3-27.el6_5.2, php-gd 5.3.3-27.el6_5.2, php-cli 5.3.3-27.el6_5.2, php-dba 5.3.3-27.el6_5.2, php-fpm 5.3.3-27.el6_5.2, php-pdo 5.3.3-27.el6_5.2, +20 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php53 5.3.3-24.el5, php53-gd 5.3.3-24.el5, php53-cli 5.3.3-24.el5, php53-dba 5.3.3-24.el5, php53-pdo 5.3.3-24.el5, php53-xml 5.3.3-24.el5, +14 more Red Hat Enterprise Linux HPC Node (v. 6) php 5.3.3-27.el6_5.2, php-cli 5.3.3-27.el6_5.2, php-common 5.3.3-27.el6_5.2 Red Hat Enterprise Linux HPC Node Optional (v. 6) php 5.3.3-27.el6_5.2, php-gd 5.3.3-27.el6_5.2, php-dba 5.3.3-27.el6_5.2, php-fpm 5.3.3-27.el6_5.2, php-pdo 5.3.3-27.el6_5.2, php-xml 5.3.3-27.el6_5.2, +18 more Red Hat Enterprise Linux Server (v. 6) php 5.3.3-27.el6_5.2, php-gd 5.3.3-27.el6_5.2, php-cli 5.3.3-27.el6_5.2, php-pdo 5.3.3-27.el6_5.2, php-xml 5.3.3-27.el6_5.2, php-ldap 5.3.3-27.el6_5.2, +6 morefixed: vendor fix RHSA-2014:1326
-
Red Hat Enterprise Linux Server (v. 7) php 5.4.16-23.el7_0.1, php-gd 5.4.16-23.el7_0.1, php-cli 5.4.16-23.el7_0.1, php-pdo 5.4.16-23.el7_0.1, php-xml 5.4.16-23.el7_0.1, php-ldap 5.4.16-23.el7_0.1, +8 morefixed: vendor fix RHSA-2014:1327
-
Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-27.el6_5.2, php-dba 5.3.3-27.el6_5.2, php-fpm 5.3.3-27.el6_5.2, php-zts 5.3.3-27.el6_5.2, php-imap 5.3.3-27.el6_5.2, php-intl 5.3.3-27.el6_5.2, +9 morefixed: vendor fix RHSA-2014:1326
-
Red Hat Enterprise Linux Server Optional (v. 7) php-dba 5.4.16-23.el7_0.1, php-fpm 5.4.16-23.el7_0.1, php-intl 5.4.16-23.el7_0.1, php-snmp 5.4.16-23.el7_0.1, php-bcmath 5.4.16-23.el7_0.1, php-pspell 5.4.16-23.el7_0.1, +4 morefixed: vendor fix RHSA-2014:1327
-
Red Hat Enterprise Linux Workstation (v. 6) php 5.3.3-27.el6_5.2, php-gd 5.3.3-27.el6_5.2, php-cli 5.3.3-27.el6_5.2, php-pdo 5.3.3-27.el6_5.2, php-xml 5.3.3-27.el6_5.2, php-ldap 5.3.3-27.el6_5.2, +6 morefixed: vendor fix RHSA-2014:1326
show 5 moreshow fewer
-
Red Hat Enterprise Linux Workstation (v. 7) php 5.4.16-23.el7_0.1, php-gd 5.4.16-23.el7_0.1, php-cli 5.4.16-23.el7_0.1, php-pdo 5.4.16-23.el7_0.1, php-xml 5.4.16-23.el7_0.1, php-ldap 5.4.16-23.el7_0.1, +8 morefixed: vendor fix RHSA-2014:1327
-
Red Hat Enterprise Linux Workstation Optional (v. 6) php 5.3.3-27.el6_5.2, php-dba 5.3.3-27.el6_5.2, php-fpm 5.3.3-27.el6_5.2, php-zts 5.3.3-27.el6_5.2, php-imap 5.3.3-27.el6_5.2, php-intl 5.3.3-27.el6_5.2, +9 morefixed: vendor fix RHSA-2014:1326
-
Red Hat Enterprise Linux Workstation Optional (v. 7) php-dba 5.4.16-23.el7_0.1, php-fpm 5.4.16-23.el7_0.1, php-intl 5.4.16-23.el7_0.1, php-snmp 5.4.16-23.el7_0.1, php-bcmath 5.4.16-23.el7_0.1, php-pspell 5.4.16-23.el7_0.1, +4 morefixed: vendor fix RHSA-2014:1327
-
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) php55-php 5.5.6-13.el7, php54-php 5.4.16-22.el7, php55-php-gd 5.5.6-13.el7, php54-php-gd 5.4.16-22.el7, php55-php-cli 5.5.6-13.el7, php55-php-dba 5.5.6-13.el7, +40 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) php55-php 5.5.6-13.el6, php54-php 5.4.16-22.el6, php55-php-gd 5.5.6-13.el6, php54-php-gd 5.4.16-22.el6, php55-php-cli 5.5.6-13.el6, php55-php-dba 5.5.6-13.el6, +44 morefixed: vendor fix RHSA-2014:1765
+1 more productsfewer
Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) php55-php 5.5.6-13.el7, php54-php 5.4.16-22.el7, php55-php-gd 5.5.6-13.el7, php54-php-gd 5.4.16-22.el7, php55-php-cli 5.5.6-13.el7, php55-php-dba 5.5.6-13.el7, +40 more -
Red Hat Enterprise Linux 5 php, libwmf Red Hat Enterprise Linux 6 libwmf, libwmf-lite Red Hat Enterprise Linux 7 libwmf, libwmf-litenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
20.27% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.php.net https://bugs.php.net/bug.php?id=66901 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1076676
issue-tracking, patch, third-party-advisory
-
bugs.php.net
/bug.php?id=66901
exploit, issue-tracking, patch, vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2014-07/msg00001.html
vendor-advisory, mailing-list, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2015:153
vendor-advisory, broken-link
-
rhn.redhat.com
/errata/RHSA-2014-1766.html
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2014-07/msg00002.html
vendor-advisory, mailing-list, third-party-advisory
-
debian.org
/security/2015/dsa-3215
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/201607-04
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2014-1326.html
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2015/Apr/msg00001.html
vendor-advisory, broken-link, mailing-list
-
ubuntu.com
/usn/USN-2987-1
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2014-1327.html
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2014-1765.html
vendor-advisory, third-party-advisory
-
secunia.com
/advisories/59418
third-party-advisory, not-applicable
-
support.apple.com
/HT204659
third-party-advisory
-
secunia.com
/advisories/59496
third-party-advisory, not-applicable
-
secunia.com
/advisories/59652
third-party-advisory, not-applicable
-
secunia.com
/advisories/59061
third-party-advisory, not-applicable
-
advisories.mageia.org
/MGASA-2014-0288.html
third-party-advisory
-
securityfocus.com
/bid/66233
vdb-entry, third-party-advisory
-
oracle.com
/technetwork/topics/security/bulletinjan2015-2370101.html
third-party-advisory
Sources
- CVE List CVE-2014-2497
- NVD CVE-2014-2497
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.