NULL pointer dereference in PHP - CVE-2015-7803

 

NULL pointer dereference in PHP - CVE-2015-7803

Published: October 28, 2015 / Updated: November 27, 2018


Vulnerability identifier: #VU16132
CSH Severity: Low
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-7803
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition.

The vulnerability exists due to NULL pointer dereference in the phar_get_entry_data function in ext/phar/util.c in PHP before 5.5.30 and 5.6.x before 5.6.14. A remote attacker can trigger NULL pointer dereference and cause the service to crash via a .phar file with a crafted TAR archive entry in which the Link indicator references a file that does not exist.


Affected software

PHP
php5 (Ubuntu package)
Slackware Linux

How to mitigate CVE-2015-7803

Install update from vendor's website.

PHP - addressed in versions 5.5.30, 5.6.14
php5 (Ubuntu package) - addressed in versions 5.3.10-1ubuntu3.21, 5.5.9+dfsg-1ubuntu4.14, 5.6.4+dfsg-4ubuntu6.4, 5.6.11+dfsg-1ubuntu3.1

External References

Related Security Bulletins