CVE-2006-4812: php Improper Control of Generation of Code
Vulnerability summary
CVE-2006-4812 is a high (CVSS 10.0) Improper Control of Generation of Code vulnerability in php. EPSS estimates a 20.38% chance of exploitation in the next 30 days, higher than 97.4% of scored vulnerabilities. 1 public exploit is recorded.
Weaponized exploit (exploit-database, 05-10-2006)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Duplicates 1Timeline
- 09-10-2006PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
Description
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).
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
20.38%
Chance of exploitation in the next 30 days
Percentile
97%
Versus all other CVEs
30-day change
No change 0.00 pp
From 20.38% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPHP 3 < 5 - ZendEngine ECalloc Integer Overflow
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.
Redhat8 products
- php< 0:4.1.2-2.12
- php-devel< 0:4.1.2-2.12
- php-imap< 0:4.1.2-2.12
- php-ldap< 0:4.1.2-2.12
- php-manual< 0:4.1.2-2.12
Php1 product
- phpEOL4.0 | 4.0.1 | 4.0.1:patch1 | 4.0.1:patch2 | 4.0.2 | 4.0.3 | 4.0.3:patch1 | 4.0.4 | 4.0.5 | 4.0.6 | 4.0.7 | 4.0.7:rc1 | 4.0.7:rc2 | 4.0.7:rc3 | 4.1.0 | 4.1.1 | 4.1.2 | 4.2 | 4.2.0 | 4.2.1 | 4.2.2 | 4.2.3 | 5.0:rc1 | 5.0:rc2 | 5.0:rc3 | 5.0.0 | 5.0.1 | 5.0.2 | 5.0.3 | 5.0.4 | 5.0.5 | 5.1.0 | 5.1.1 | 5.1.2 | 5.1.3 | 5.1.4 | 5.1.5 | 5.1.6
2 vendors · 9 products
References
34 linksShow all 34 references
- support.avaya.com/elmodocs2/security/ASA-2006-223.htmX Refsource CONFIRM
- cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.161&r2=1.162X Refsource CONFIRM
- support.avaya.com/elmodocs2/security/ASA-2006-234.htmX Refsource CONFIRM