Infinite loop in PHP - CVE-2016-7478

 

Infinite loop in PHP - CVE-2016-7478

Published: February 14, 2017 / Updated: May 18, 2020


Vulnerability identifier: #VU16135
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-2016-7478
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The vulnerability exists due to infinite loop in zend/zend_exceptions.c in PHP, possibly 5.x before 5.6.28 and 7.x before 7.0.13. A remote attacker can trigger infinite loop and cause the service to crash via a crafted Exception object in serialized data.


Affected software

PHP
php5 (Ubuntu package)
SUSE Linux

How to mitigate CVE-2016-7478

Install update from vendor's website.

PHP - addressed in versions 5.6.28, 7.0.13
php5 (Ubuntu package) - addressed in versions 5.3.10-1ubuntu3.26, 5.5.9+dfsg-1ubuntu4.21

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins