Heap-based buffer overflow in PHP - CVE-2010-3062

 

Heap-based buffer overflow in PHP - CVE-2010-3062

Published: December 7, 2010 / Updated: June 8, 2025


Vulnerability identifier: #VU110289
CSH Severity: Medium
CVSS v4.0:
CVE-ID: CVE-2010-3062
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: PHP Group
Affected software:
PHP

Detailed vulnerability description

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

The vulnerability exists due to a boundary error in mysqlnd_wireprotocol.c in the Mysqlnd extension in PHP 5.3 through 5.3.2. A remote attacker can use a modified length value to trigger 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-2010-3062

Install update from vendor's website.

Sources