Heap-based buffer overflow in PHP - CVE-2014-9705

 

Heap-based buffer overflow in PHP - CVE-2014-9705

Published: November 27, 2018


Vulnerability identifier: #VU16106
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-2014-9705
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to heap-based buffer overflow in the enchant_broker_request_dict function in ext/enchant/enchant.c in PHP before 5.4.38, 5.5.x before 5.5.22, and 5.6.x before 5.6.6. A remote attacker can trigger memory corruption via vectors that trigger creation of multiple dictionaries and execute arbitrary code on the target system.

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


Affected software

PHP
php5 (Ubuntu package)

How to mitigate CVE-2014-9705

Install update from vendor's website.

PHP - addressed in versions 5.4.38, 5.5.22, 5.6.6
php5 (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.29, 5.3.10-1ubuntu3.17, 5.5.9+dfsg-1ubuntu4.7, 5.5.12+dfsg-2ubuntu4.3

External References

Related Security Bulletins