NULL pointer dereference in PHP - CVE-2014-2497

 

NULL pointer dereference in PHP - CVE-2014-2497

Published: March 21, 2014 / Updated: August 3, 2020


Vulnerability identifier: #VU33295
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-2497
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error. A remote attacker can trigger denial of service conditions via a crafted color table in an XPM file.


Affected software

PHP
Gentoo Linux
Amazon Linux AMI
SUSE Linux
Ubuntu
Slackware Linux
Fedora
php (Alpine package)
libgd2-noxpm (Ubuntu package)
libgd2-xpm (Ubuntu package)
libgd3 (Ubuntu package)
gd
dev-lang/php

How to mitigate CVE-2014-2497

Update to version 5.4.27.

PHP - update to 5.4.27
php (Alpine package) - update to 5.5.16-r0
libgd2-noxpm (Ubuntu package) - update to 2.0.36~rc1~dfsg-6ubuntu2.1
libgd2-xpm (Ubuntu package) - update to 2.0.36~rc1~dfsg-6ubuntu2.1
libgd3 (Ubuntu package) - addressed in versions 2.1.0-3ubuntu0.1, 2.1.1-4ubuntu0.15.10.1, 2.1.1-4ubuntu0.16.04.1
gd - update to 2.1.0-8.fc21
dev-lang/php - update to 5.5.16

External References

Related Security Bulletins