Out-of-bounds write in bzread() in PHP and Oracle Linux - CVE-2016-5399

 

Out-of-bounds write in bzread() in PHP and Oracle Linux - CVE-2016-5399

Published: July 25, 2016 / Updated: September 14, 2018


Vulnerability identifier: #VU207
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-5399
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to incorrect error handling in bzread() function. A remote unauthenticated attacker can cause buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

PHP
Oracle Linux

How to mitigate CVE-2016-5399

Install the latest versions: (5.5.38, 5.6.24, 7.0.9).


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins