NULL pointer dereference in PHP - CVE-2015-7803
Published: October 28, 2015 / Updated: November 27, 2018
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
Debian Linux
Slackware Linux
php5 (Ubuntu package)
php5 (Debian package)
How to mitigate CVE-2015-7803
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
php5 (Debian package) - addressed in versions 5.4.45-0+deb7u2, 5.6.14+dfsg-0+deb8u1