CVEvulnerability
CVE-2010-3063
5.0 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2010-08-20
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-119
Description
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 allows context-dependent attackers to trigger a heap-based buffer overflow via crafted inputs that cause a negative length value to be used.
Affected configurations
• php php 5.3.0
• php php 5.3.1
• php php 5.3.2
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-security-announce/2010-10/msg00000.html lists.opensuse.org
- http://php-security.org/2010/05/31/mops-2010-058-php-php_mysqlnd_read_error_from_line-buffer-overflow-vulnerability/index.html php-security.org
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/NEWS?r1=298701&r2=298703&pathrev=298703 Patch
- http://svn.php.net/viewvc?view=revision&revision=298703 svn.php.net
- http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-security-announce/2010-10/msg00000.html lists.opensuse.org
- http://php-security.org/2010/05/31/mops-2010-058-php-php_mysqlnd_read_error_from_line-buffer-overflow-vulnerability/index.html php-security.org
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/NEWS?r1=298701&r2=298703&pathrev=298703 Patch
- http://svn.php.net/viewvc?view=revision&revision=298703 svn.php.net