RCE in PHP
CVE-2006-4812
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).
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 10.0 (High). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.207, 97.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 4.0, 4.0.1, 4.0.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (mudongliang/LinuxFlaw, oneoy/cve-). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- secunia.com/advisories/22300 (third-party-advisory)
- secunia.com/advisories/22650 (third-party-advisory)
- securitytracker.com/id (Patch, vdb-entry)
- secunia.com/advisories/22281 (third-party-advisory)
- secunia.com/advisories/22338 (third-party-advisory)
- www.securityfocus.com/bid/20349 (vdb-entry)
- OpenPKG-SA-2006.023 (vendor-advisory)
- GLSA-200610-14 (vendor-advisory)
- 2006-0055 (vendor-advisory)
- RHSA-2006:0688 (vendor-advisory)