Use-after-free in PHP - CVE-2016-9137
Published: February 14, 2017 / Updated: November 27, 2018
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition on the target system.
The vulnerability exists due to use-after-free error in the CURLFile implementation in ext/curl/curl_file.c in PHP before 5.6.27 and 7.x before 7.0.12. A remote attacker can cause a denial of service via specially crafted serialized data that is mishandled during __wakeup processing.
Affected software
Debian Linux
Ubuntu
php5 (Ubuntu package)
php5 (Debian package)
php7.0-cli (Ubuntu package)
php7.0-cgi (Ubuntu package)
php7.0-fpm (Ubuntu package)
libapache2-mod-php7.0 (Ubuntu package)
How to mitigate CVE-2016-9137
php5 (Ubuntu package) - addressed in versions 5.3.10-1ubuntu3.26, 5.5.9+dfsg-1ubuntu4.21
php5 (Debian package) - update to 5.6.27+dfsg-0+deb8u1
php7.0-cli (Ubuntu package) - addressed in versions 7.0.15-0ubuntu0.16.04.2, 7.0.15-0ubuntu0.16.10.2
php7.0-cgi (Ubuntu package) - addressed in versions 7.0.15-0ubuntu0.16.04.2, 7.0.15-0ubuntu0.16.10.2
php7.0-fpm (Ubuntu package) - addressed in versions 7.0.15-0ubuntu0.16.04.2, 7.0.15-0ubuntu0.16.10.2
libapache2-mod-php7.0 (Ubuntu package) - addressed in versions 7.0.15-0ubuntu0.16.04.2, 7.0.15-0ubuntu0.16.10.2