Use-after-free error in PHP - CVE-2015-1351
Published: November 30, -0001 / Updated: November 27, 2018
Vulnerability identifier: #VU3380
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-1351
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition.
The weakness exists due to use-after-free vulnerability in the _zend_shared_memdup function in zend_shared_alloc.c in the OPcache extension in PHP through 5.6.7. A remote attacker can trigger memory corruption and cause the service to crash.
The weakness exists due to use-after-free vulnerability in the _zend_shared_memdup function in zend_shared_alloc.c in the OPcache extension in PHP through 5.6.7. A remote attacker can trigger memory corruption and cause the service to crash.
Affected software
PHP
Amazon Linux AMI
Fedora
Slackware Linux
php5 (Ubuntu package)
php
php-pecl-zendopcache
Amazon Linux AMI
Fedora
Slackware Linux
php5 (Ubuntu package)
php
php-pecl-zendopcache
How to mitigate CVE-2015-1351
Install update from vendor's website.
php5 (Ubuntu package) - addressed in versions 5.3.10-1ubuntu3.16, 5.5.9+dfsg-1ubuntu4.6, 5.5.12+dfsg-2ubuntu4.2
php - addressed in versions 5.6.8-1.fc21, 5.6.8-1.fc22
php-pecl-zendopcache - addressed in versions 7.0.5-1.el6, 7.0.5-1.el7
php - addressed in versions 5.6.8-1.fc21, 5.6.8-1.fc22
php-pecl-zendopcache - addressed in versions 7.0.5-1.el6, 7.0.5-1.el7