gd: NULL pointer dereference in gdImageCreateFromXpm()
Published Mar 21, 2014
4.3
MEDIUMCVSS 2.0
EPSS 20.19%
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
No data.
Configuration 2
- 12.04
- 14.04
- 15.10
- 16.04
Configuration 3
- 11
- 11
- 11
- 11
Configuration 4
- 6.0
- 7.0
- 6.5
- 7.3
- 7.4
- 7.5
- 7.6
- 7.7
- 6.0
- 7.0
- 6.5
- 7.3
- 7.6
- 6.5
- 7.3
- 7.6
- 7.7
- 6.0
- 7.0
Configuration 5
- 7.0
- 8.0
No data.
Red Hat Enterprise Linux 5
php53-0:5.3.3-24.el5
Fixed · RHSA-2014:1326
Red Hat Enterprise Linux 6
php-0:5.3.3-27.el6_5.2
Fixed · RHSA-2014:1326
Red Hat Enterprise Linux 7
php-0:5.4.16-23.el7_0.1
Fixed · RHSA-2014:1327
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS
php54-php-0:5.4.16-22.el6
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS
php55-php-0:5.5.6-13.el6
Fixed · RHSA-2014:1766
Red Hat Software Collections 1 for Red Hat Enterprise Linux 7
php54-php-0:5.4.16-22.el7
Fixed · RHSA-2014:1765
Red Hat Software Collections 1 for Red Hat Enterprise Linux 7
php55-php-0:5.5.6-13.el7
Fixed · RHSA-2014:1766
Red Hat Enterprise Linux 5
gd
Will not fix
Red Hat Enterprise Linux 5
libwmf
Not affected
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 6
gd
Will not fix
Red Hat Enterprise Linux 6
libwmf
Not affected
Red Hat Enterprise Linux 7
gd
Will not fix
Red Hat Enterprise Linux 7
libwmf
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | php53-0:5.3.3-24.el5 | Fixed | RHSA-2014:1326 |
| Red Hat Enterprise Linux 6 | php-0:5.3.3-27.el6_5.2 | Fixed | RHSA-2014:1326 |
| Red Hat Enterprise Linux 7 | php-0:5.4.16-23.el7_0.1 | Fixed | RHSA-2014:1327 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS | php54-php-0:5.4.16-22.el6 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS | php55-php-0:5.5.6-13.el6 | Fixed | RHSA-2014:1766 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 7 | php54-php-0:5.4.16-22.el7 | Fixed | RHSA-2014:1765 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 7 | php55-php-0:5.5.6-13.el7 | Fixed | RHSA-2014:1766 |
| Red Hat Enterprise Linux 5 | gd | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | libwmf | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 6 | gd | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | libwmf | Not affected | n/a |
| Red Hat Enterprise Linux 7 | gd | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | libwmf | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (45 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 20.19% (0.20186) | 97.39th | v5 (v2026.06.15) |
| Sep 2, 2026 | 20.19% (0.20186) | 97.28th | v5 (v2026.06.15) |
| Jun 15, 2026 | 22.32% (0.22319) | 97.38th | v5 (v2026.06.15) |
| May 24, 2026 | 5.31% (0.05309) | 90.14th | v4 (v2025.03.14) |
| Mar 4, 2026 | 12.13% (0.12135) | 93.67th | v4 (v2025.03.14) |
| Mar 1, 2026 | 7.15% (0.07146) | 91.44th | v4 (v2025.03.14) |
| Feb 4, 2026 | 12.13% (0.12135) | 93.63th | v4 (v2025.03.14) |
| Feb 1, 2026 | 7.15% (0.07146) | 91.38th | v4 (v2025.03.14) |
| Jan 4, 2026 | 12.13% (0.12135) | 93.58th | v4 (v2025.03.14) |
| Jan 1, 2026 | 7.15% (0.07146) | 91.33th | v4 (v2025.03.14) |
| Dec 28, 2025 | 12.13% (0.12135) | 93.58th | v4 (v2025.03.14) |
| Dec 27, 2025 | 8.31% (0.08307) | 91.99th | v4 (v2025.03.14) |
| Dec 4, 2025 | 12.13% (0.12135) | 93.54th | v4 (v2025.03.14) |
| Dec 1, 2025 | 7.15% (0.07146) | 91.26th | v4 (v2025.03.14) |
| Nov 4, 2025 | 12.13% (0.12135) | 93.51th | v4 (v2025.03.14) |
| Nov 1, 2025 | 7.15% (0.07146) | 91.18th | v4 (v2025.03.14) |
| Oct 28, 2025 | 12.13% (0.12135) | 93.50th | v4 (v2025.03.14) |
| Oct 27, 2025 | 8.31% (0.08307) | 91.88th | v4 (v2025.03.14) |
| Oct 4, 2025 | 12.13% (0.12135) | 93.54th | v4 (v2025.03.14) |
| Oct 1, 2025 | 7.15% (0.07146) | 91.24th | v4 (v2025.03.14) |
| Sep 29, 2025 | 8.31% (0.08307) | 91.94th | v4 (v2025.03.14) |
| Sep 4, 2025 | 4.00% (0.03997) | 87.98th | v4 (v2025.03.14) |
| Sep 1, 2025 | 1.55% (0.01549) | 80.79th | v4 (v2025.03.14) |
| Aug 4, 2025 | 4.00% (0.03997) | 87.99th | v4 (v2025.03.14) |
| Aug 1, 2025 | 1.55% (0.01549) | 80.74th | v4 (v2025.03.14) |
| Jul 30, 2025 | 4.00% (0.03997) | 87.98th | v4 (v2025.03.14) |
| Jul 13, 2025 | 5.17% (0.05174) | 89.43th | v4 (v2025.03.14) |
| Jul 12, 2025 | 12.13% (0.12135) | 93.49th | v4 (v2025.03.14) |
| Jul 7, 2025 | 10.50% (0.10499) | 92.87th | v4 (v2025.03.14) |
| Jul 4, 2025 | 13.76% (0.13755) | 93.95th | v4 (v2025.03.14) |
| Jul 1, 2025 | 8.18% (0.08184) | 91.81th | v4 (v2025.03.14) |
| Jun 4, 2025 | 13.53% (0.13532) | 93.84th | v4 (v2025.03.14) |
| Jun 1, 2025 | 8.04% (0.08040) | 91.69th | v4 (v2025.03.14) |
| May 4, 2025 | 13.53% (0.13532) | 93.80th | v4 (v2025.03.14) |
| May 1, 2025 | 8.04% (0.08040) | 91.68th | v4 (v2025.03.14) |
| Mar 30, 2025 | 13.39% (0.13392) | 93.57th | v4 (v2025.03.14) |
| Mar 29, 2025 | 19.30% (0.19304) | 92.42th | v4 (v2025.03.14) |
| Mar 17, 2025 | 13.39% (0.13392) | 93.64th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.98% (0.00977) | 84.09th | v3 (v2023.03.01) |
| Nov 1, 2023 | 0.98% (0.00977) | 81.74th | v3 (v2023.03.01) |
| Sep 15, 2023 | 0.94% (0.00940) | 81.23th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.04% (0.01038) | 81.62th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.93% (0.03932) | 85.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.93% (0.03932) | 84.43th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.93% (0.03932) | 67.70th | v2 (v2022.01.01) |
References (24)
- http://advisories.mageia.org/MGASA-2014-0288.html x_refsource_CONFIRMThird Party Advisory
- http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html vendor-advisoryx_refsource_APPLEBroken LinkMailing List
- http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00001.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00002.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1326.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1327.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1765.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1766.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://secunia.com/advisories/59061 third-party-advisoryx_refsource_SECUNIANot Applicable
- http://secunia.com/advisories/59418 third-party-advisoryx_refsource_SECUNIANot Applicable
- http://secunia.com/advisories/59496 third-party-advisoryx_refsource_SECUNIANot Applicable
- http://secunia.com/advisories/59652 third-party-advisoryx_refsource_SECUNIANot Applicable
- http://www.debian.org/security/2015/dsa-3215 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:153 vendor-advisoryx_refsource_MANDRIVABroken Link
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html x_refsource_CONFIRMThird Party Advisory
- http://www.securityfocus.com/bid/66233 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.ubuntu.com/usn/USN-2987-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2014-2497 Vendor Advisory
- https://bugs.php.net/bug.php?id=66901 x_refsource_CONFIRMExploitIssue TrackingPatchVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1076676 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2014-2497
- https://security.gentoo.org/glsa/201607-04 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://support.apple.com/HT204659 x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2014-2497
Change history (0)
No recorded changes yet.