What’s Vulnerable › Vulnerabilities
CVE-2014-2497
- Severity: medium (CVSS 4.3 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 20.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2014-03-21 · updated 2026-06-17
- Weakness: CWE-476
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.
Affected products
- Canonical Ubuntu Linux: 12.04, 14.04, 15.10, 16.04
- Debian Linux: 7.0, 8.0
- Oracle Corporation Solaris Operating System: 11.2
- PHP: before 5.4.32; from 5.5.0 before 5.5.16 — fixed in 5.4.32, 5.5.16
- RedHat Enterprise Linux Desktop: 6.0, 7.0
- RedHat Enterprise Linux Eus: 6.5, 7.3, 7.4, 7.5, 7.6, 7.7
- RedHat Enterprise Linux Server: 6.0, 7.0
- RedHat Enterprise Linux Server Aus: 6.5, 7.3, 7.6
- RedHat Enterprise Linux Server Tus: 6.5, 7.3, 7.6, 7.7
- RedHat Enterprise Linux Workstation: 6.0, 7.0
- SUSE Linux Enterprise Server: 11-sp2, 11-sp3
- SUSE Linux Enterprise Software Development Kit: 11-sp3
How to fix
Upgrade to a fixed version: PHP 5.4.32, 5.5.16. Check the vendor advisory for mitigations.
References
- http://advisories.mageia.org/MGASA-2014-0288.html
- http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00002.html
- http://rhn.redhat.com/errata/RHSA-2014-1326.html
- http://rhn.redhat.com/errata/RHSA-2014-1327.html
- http://rhn.redhat.com/errata/RHSA-2014-1765.html
- http://rhn.redhat.com/errata/RHSA-2014-1766.html
- http://secunia.com/advisories/59061
- http://secunia.com/advisories/59418
- http://secunia.com/advisories/59496
- http://secunia.com/advisories/59652
Get alerted when CVE-2014-2497 or the next vulnerability affects your stack