CVE-2014-2497
gd: NULL pointer dereference in gdImageCreateFromXpm()
Overview
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: OX vulnerability database
Severity
4.3 · MEDIUM
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
AV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness: CWE-476
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 15 fixes
Oracle Linux 1 release · 1 package
fixed 1
php
| Release | Package | Fixed in |
|---|---|---|
| 7 | php +24 | 5.4.16-23.el7_0.1 |
Red Hat 1 release · 4 packages
wont fix 1
fixed 3
gd
php54-php
php
php55-php
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | gd +2 | wont fix | — |
| 7 | php54-php +22 | 0:5.4.16-22.el7 | RHSA-2014:1765 |
| 7 | php +24 | 0:5.4.16-23.el7_0.1 | RHSA-2014:1327 |
| 7 | php55-php +24 | 0:5.5.6-13.el7 | RHSA-2014:1766 |
debian 4 releases · 1 package
fixed 4
libgd2
| Release | Package | Fixed in |
|---|---|---|
| 11 | libgd2 | 2.1.0-4 |
| 12 | libgd2 | 2.1.0-4 |
| 13 | libgd2 | 2.1.0-4 |
| 14 | libgd2 | 2.1.0-4 |
echo 1 release · 1 package
fixed 1
libgd2
| Release | Package | Fixed in |
|---|---|---|
| libgd2 | 2.1.0-4 |
openSUSE 1 release · 4 packages
fixed 4
gd
apache2-mod-php5
apache2-mod-php7
php8
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | gd +3 | 2.2.3-2.1 | openSUSE-SU-2024:10062-1 |
| Tumbleweed | apache2-mod-php5 +58 | 5.6.28-1.1 | openSUSE-SU-2024:10344-1 |
| Tumbleweed | apache2-mod-php7 +56 | 7.0.14-1.4 | openSUSE-SU-2024:10290-1 |
| Tumbleweed | php8 +46 | 8.0.11-1.1 | openSUSE-SU-2024:11169-1 |
seal Red Hat 1 release · 1 package
fixed 1
gd
| Release | Package | Fixed in |
|---|---|---|
| 7 | gd +1 | 2.0.35-27.el7_9+sp999 |
References
- advisories.mageia.org http://advisories.mageia.org/MGASA-2014-0288.html
- lists.apple.com http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00001.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2014-07/msg00002.html
- net-ninja-mr.me http://net-ninja-mr.me/2014/03/14/php-gd-v5-4-17-2-color-visual-null-pointer-dereference/
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2014-1326.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2014-1327.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2014-1765.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2014-1766.html
- secunia.com http://secunia.com/advisories/59061
Show all 28 references
- secunia.com http://secunia.com/advisories/59418
- secunia.com http://secunia.com/advisories/59496
- secunia.com http://secunia.com/advisories/59652
- www.debian.org http://www.debian.org/security/2015/dsa-3215
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2015:153
- www.oracle.com http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- www.securityfocus.com http://www.securityfocus.com/bid/66233
- www.ubuntu.com http://www.ubuntu.com/usn/USN-2987-1
- access.redhat.com https://access.redhat.com/security/cve/CVE-2014-2497
- bugs.php.net https://bugs.php.net/bug.php?id=66901
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1076676
- linux.oracle.com https://linux.oracle.com/cve/CVE-2014-2497.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2014-1327.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2014-2497
- security.gentoo.org https://security.gentoo.org/glsa/201607-04
- support.apple.com https://support.apple.com/HT204659
- ubuntu.com https://ubuntu.com/security/notices/USN-2987-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2014-2497
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.