First published: Mon Oct 09 2006(Updated: )
Integer overflow in PHP 5 up to 5.1.6 and 4 before 4.3.0 allows remote attackers to execute arbitrary code via an argument to the unserialize PHP function with a large value for the number of array elements, which triggers the overflow in the Zend Engine ecalloc function (Zend/zend_alloc.c).
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | =5.1.5 | |
PHP | =5.1.2 | |
PHP | =4.2.0 | |
PHP | =5.1.1 | |
PHP | =4.1.0 | |
PHP | =5.1.6 | |
PHP | =4.0.4 | |
PHP | =4.0.5 | |
PHP | =5.0-rc1 | |
PHP | =5.0.5 | |
PHP | =5.0.1 | |
PHP | =5.1.4 | |
PHP | =4.0.7-rc2 | |
PHP | =5.0.4 | |
PHP | =4.0.7-rc1 | |
PHP | =4.2.2 | |
PHP | =4.0.3-patch1 | |
PHP | =4.0.7 | |
PHP | =4.0.2 | |
PHP | =5.0-rc3 | |
PHP | =4.1.1 | |
PHP | =5.0.3 | |
PHP | =4.2.3 | |
PHP | =5.1.0 | |
PHP | =4.0.1-patch1 | |
PHP | =4.0 | |
PHP | =4.0.1-patch2 | |
PHP | =4.0.6 | |
PHP | =5.0-rc2 | |
PHP | =4.1.2 | |
PHP | =4.0.7-rc3 | |
PHP | =5.1.3 | |
PHP | =4.2.1 | |
PHP | =4.0.1 | |
PHP | =5.0.2 | |
PHP | =4.2 | |
PHP | =4.0.3 | |
PHP | =5.0.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2006-4812 has been classified as a critical severity vulnerability due to its potential to allow remote code execution.
To fix CVE-2006-4812, it is recommended to update PHP to a version higher than 5.1.6 or 4.3.0.
CVE-2006-4812 affects PHP versions 5.1.6 and earlier, as well as version 4.2.3 and earlier.
Attacks exploiting CVE-2006-4812 typically involve providing a large input to the unserialize function that results in an integer overflow.
Any application using vulnerable versions of PHP that allow untrusted data to be passed to the unserialize function could be affected by CVE-2006-4812.