Heap overflow in simplestring_addn() in PHP and macOS - CVE-2016-6296

 

Heap overflow in simplestring_addn() in PHP and macOS - CVE-2016-6296

Published: July 27, 2016 / Updated: January 6, 2017


Vulnerability identifier: #VU221
CSH Severity: High
CVSS v4.0: 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/E:U/U:Amber
CVE-ID: CVE-2016-6296
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: PHP Group
Apple Inc.
Affected software:
PHP
macOS

Detailed vulnerability description

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

The vulnerability exists due to heap-based buffer overflow in simplestring_addn() function ('simplestring.c') within the XMLRPC component. A remote unauthenticated attacker can cause a heap-based buffer overflow and execute arbitrary code on the target system.

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

How to mitigate CVE-2016-6296

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

Sources