The gdImageCreateFromXpm function in gdxpm.c in libgd, as used in PHP 5.4.26 and earlier…
Priority LOW 39CWE-476Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- Partial Red Hat: 22 fixed, 3 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-476.
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.
Why it matters now
EPSS 0.20272 97th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 4 advisoriesRed Hat: 22 fixed, 3 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 31
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | before 5.4.32; 5.5.0 to before 5.5.16 | Vulnerable | PHP |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* | 15.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:ltss:*:*:* | 11 sp2 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server:11:sp3:*:*:*:-:*:* | 11 sp3 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_server:11:sp3:*:*:*:vmware:*:* | 11 sp3 | Vulnerable | SUSE |
| cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp3:*:*:*:*:*:* | 11 sp3 | Vulnerable | SUSE |
| cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions before 5.4.32; 5.5.0 to before 5.5.16 Vulnerable ·PHP
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* Versions 15.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:suse:linux_enterprise_server:11:sp2:*:*:ltss:*:*:* Versions 11 sp2 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server:11:sp3:*:*:*:-:*:* Versions 11 sp3 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_server:11:sp3:*:*:*:vmware:*:* Versions 11 sp3 Vulnerable ·SUSE
- cpe:2.3:o:suse:linux_enterprise_software_development_kit:11:sp3:*:*:*:*:*:* Versions 11 sp3 Vulnerable ·SUSE
- cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
Show 21 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:6.5:*:*:*:*:*:*:* | 6.5 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:7.3:*:*:*:*:*:*:* | 7.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:7.5:*:*:*:*:*:*:* | 7.5 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:7.7:*:*:*:*:*:*:* | 7.7 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:6.5:*:*:*:*:*:*:* | 6.5 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* | 7.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:6.5:*:*:*:*:*:*:* | 6.5 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:* | 7.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:* | 7.7 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:oracle:solaris:11.2:*:*:*:*:*:*:* | 11.2 | Vulnerable | Oracle |
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:6.5:*:*:*:*:*:*:* Versions 6.5 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:7.3:*:*:*:*:*:*:* Versions 7.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:7.5:*:*:*:*:*:*:* Versions 7.5 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:7.7:*:*:*:*:*:*:* Versions 7.7 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:6.5:*:*:*:*:*:*:* Versions 6.5 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* Versions 7.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:6.5:*:*:*:*:*:*:* Versions 6.5 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:* Versions 7.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:* Versions 7.7 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:oracle:solaris:11.2:*:*:*:*:*:*:* Versions 11.2 Vulnerable ·Oracle
Remediation
Red Hat 4 advisories
- RHSA-2014:1765 Released 2014-10-30 · Red Hat rating Importantphp54-php security update
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) php54-php-5.4.16-22.el7, php54-php-bcmath-5.4.16-22.el7, php54-php-cli-5.4.16-22.el7 +20
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) php54-php-5.4.16-22.el6, php54-php-bcmath-5.4.16-22.el6, php54-php-cli-5.4.16-22.el6 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) php54-php-5.4.16-22.el7, php54-php-bcmath-5.4.16-22.el7, php54-php-cli-5.4.16-22.el7 +20
- RHSA-2014:1766 Released 2014-10-30 · Red Hat rating Importantphp55-php security update
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) php55-php-5.5.6-13.el6, php55-php-bcmath-5.5.6-13.el6, php55-php-cli-5.5.6-13.el6 +24
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) php55-php-5.5.6-13.el7, php55-php-bcmath-5.5.6-13.el7, php55-php-cli-5.5.6-13.el7 +22
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) php55-php-5.5.6-13.el6, php55-php-bcmath-5.5.6-13.el6, php55-php-cli-5.5.6-13.el6 +24
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) php55-php-5.5.6-13.el6, php55-php-bcmath-5.5.6-13.el6, php55-php-cli-5.5.6-13.el6 +24
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) php55-php-5.5.6-13.el6, php55-php-bcmath-5.5.6-13.el6, php55-php-cli-5.5.6-13.el6 +24
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) php55-php-5.5.6-13.el6, php55-php-bcmath-5.5.6-13.el6, php55-php-cli-5.5.6-13.el6 +24
- Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) php55-php-5.5.6-13.el7, php55-php-bcmath-5.5.6-13.el7, php55-php-cli-5.5.6-13.el7 +22
- RHSA-2014:1327 Released 2014-09-30 · Red Hat rating Moderatephp security update
- Red Hat Enterprise Linux Client Optional (v. 7) php-5.4.16-23.el7_0.1, php-bcmath-5.4.16-23.el7_0.1, php-cli-5.4.16-23.el7_0.1 +22
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) php-5.4.16-23.el7_0.1, php-bcmath-5.4.16-23.el7_0.1, php-cli-5.4.16-23.el7_0.1 +22
- Red Hat Enterprise Linux Server (v. 7) php-5.4.16-23.el7_0.1, php-cli-5.4.16-23.el7_0.1, php-common-5.4.16-23.el7_0.1 +11
- Red Hat Enterprise Linux Server Optional (v. 7) php-bcmath-5.4.16-23.el7_0.1, php-dba-5.4.16-23.el7_0.1, php-devel-5.4.16-23.el7_0.1 +8
- Red Hat Enterprise Linux Workstation (v. 7) php-5.4.16-23.el7_0.1, php-cli-5.4.16-23.el7_0.1, php-common-5.4.16-23.el7_0.1 +11
- Red Hat Enterprise Linux Workstation Optional (v. 7) php-bcmath-5.4.16-23.el7_0.1, php-dba-5.4.16-23.el7_0.1, php-devel-5.4.16-23.el7_0.1 +8
Show 1 more Red Hat advisories
- RHSA-2014:1326 Released 2014-09-30 · Red Hat rating Moderatephp53 and php security update
- Red Hat Enterprise Linux (v. 5 server) php53-5.3.3-24.el5, php53-5.3.3-24.el5.i386, php53-5.3.3-24.el5.ia64 +47
- Red Hat Enterprise Linux Desktop Optional (v. 6) php-5.3.3-27.el6_5.2, php-bcmath-5.3.3-27.el6_5.2, php-cli-5.3.3-27.el6_5.2 +24
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php53-5.3.3-24.el5, php53-5.3.3-24.el5.i386, php53-bcmath-5.3.3-24.el5 +39
- 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-bcmath-5.3.3-27.el6_5.2, php-dba-5.3.3-27.el6_5.2 +22
- Red Hat Enterprise Linux Server (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 +9
- Red Hat Enterprise Linux Server Optional (v. 6) php-5.3.3-27.el6_5.2, php-bcmath-5.3.3-27.el6_5.2, php-dba-5.3.3-27.el6_5.2 +13
- Red Hat Enterprise Linux Workstation (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 +9
- Red Hat Enterprise Linux Workstation Optional (v. 6) php-5.3.3-27.el6_5.2, php-bcmath-5.3.3-27.el6_5.2, php-dba-5.3.3-27.el6_5.2 +13
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2014:1326 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2014:1327 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2014:1327 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2014:1326 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2014:1326 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2014:1326 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2014:1326 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2014:1326 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2014:1327 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2014:1326 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2014:1327 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2014:1326 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2014:1327 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2014:1326 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2014:1327 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2014:1765, RHSA-2014:1766 |
Not affected: 3 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2014-2497
- 2026-10-03 Alias added: GHSA-7x54-3j5f-jcr9
References
Advisory 14
- SUSE-SU-2014:0868
- MDVSA-2015:153
- https://support.apple.com/HT204659
- RHSA-2014:1766
- SUSE-SU-2014:0869
- DSA-3215
- GLSA-201607-04
- RHSA-2014:1326
- http://advisories.mageia.org/MGASA-2014-0288.html
- APPLE-SA-2015-04-08-2
- USN-2987-1
- RHSA-2014:1327
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- RHSA-2014:1765
Sources
- CVE-2014-2497 · CVE Program
- CVE-2014-2497 · NVD
- FIRST EPSS
- GHSA-7x54-3j5f-jcr9 · GitHub Advisory Database · CC BY 4.0
- CVE-2014-2497 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences