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