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.204 (97.4th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 97.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.154 · newest: 0.204 · change: +0.050
Affected products
- PHP — versions 4.0, 4.0.1, 4.0.2
Weakness classification (CWE)
Public proof-of-concept exploits
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)
- www.securityfocus.com/archive/1/448953/100/0/threaded (vendor-advisory)
- www.gentoo.org/security/en/glsa/glsa-200610-14.xml (vendor-advisory)
- www.trustix.org/errata/2006/0055 (vendor-advisory)
- rhn.redhat.com/errata/RHSA-2006-0688.html (vendor-advisory)
Frequently asked questions
- What is CVE-2006-4812?
- CVE-2006-4812 is a vulnerability in PHP, classified under Code Injection. Published 2006-10-10.
- Is CVE-2006-4812 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.