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

 

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

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


Vulnerability identifier: #VU110290
CSH Severity: Medium
CVSS v4: []
CVE-ID: CVE-2010-3063
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 a boundary error in The php_mysqlnd_read_error_from_line function in the Mysqlnd extension in PHP 5.3 through 5.3.2 does not properly calculate a buffer length, which. A remote attacker can use crafted inputs that cause a negative length value to be used. 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.


Affected software

PHP
Gentoo Linux
dev-lang/php

How to mitigate CVE-2010-3063

Install update from vendor's website.

PHP - update to 5.3.3
dev-lang/php - update to 5.3.8

External References

Related Security Bulletins