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).
Conclusion & alert: CVE-2006-4812 is rated High Exploit Risk (85.4/100): CVSS Critical severity, with high exploitation likelihood (EPSS 39.41%, 97th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| 28760 | exploit_db | edb | 2006-10-05 | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-12-28 | 43.00% | 39.41% | -3.58% |
| 2 | 2025-12-27 | 39.41% | 43.00% | +3.58% |
| 3 | 2025-11-04 | — | 39.41% | — |
Full EPSS history (19 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 10.0 | 2.0 | HIGH |
|
10.0 | 10.0 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2006-4812: no source package rows; 0 state rows across 0 repos (none); fixed 0, open 0. | https://security.alpinelinux.org/vuln/CVE-2006-4812 |
gentoo
|
high | CVE-2006-4812: 1 GLSA(s) (200610-14), 1 atom(s) (dev-lang/php); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2006-4812 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2006-4812 |
ubuntu
|
medium | CVE-2006-4812 medium priority: Ubuntu including 2 source packages (php4, php5), 8 status rows across 4 suites (dapper, edgy, feisty, upstream): released 3, needs-triage 2, not-affected 2, DNE 1. | https://ubuntu.com/security/CVE-2006-4812 |
Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch. This issue did not affect the versions of php as shipped with Red Hat Enterprise Linux 3, and 4.
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| php | php | 4.0 | cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:* |
| php | php | 4.0.1 | cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:* |
| php | php | 4.0.1 | cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:* |
| php | php | 4.0.1 | cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:* |
| php | php | 4.0.2 | cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:* |
| php | php | 4.0.3 | cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:* |
| php | php | 4.0.3 | cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:* |
| php | php | 4.0.4 | cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:* |
| php | php | 4.0.5 | cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:* |
| php | php | 4.0.6 | cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:* |
| php | php | 4.0.7 | cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:* |
| php | php | 4.0.7 | cpe:2.3:a:php:php:4.0.7:rc1:*:*:*:*:*:* |
| php | php | 4.0.7 | cpe:2.3:a:php:php:4.0.7:rc2:*:*:*:*:*:* |
| php | php | 4.0.7 | cpe:2.3:a:php:php:4.0.7:rc3:*:*:*:*:*:* |
| php | php | 4.1.0 | cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:* |
| php | php | 4.1.1 | cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:* |
| php | php | 4.1.2 | cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:* |
| php | php | 4.2 | cpe:2.3:a:php:php:4.2:*:dev:*:*:*:*:* |
| php | php | 4.2.0 | cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:* |
| php | php | 4.2.1 | cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:* |
| php | php | 4.2.2 | cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:* |
| php | php | 4.2.3 | cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:* |
| php | php | 5.0 | cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:* |
| php | php | 5.0 | cpe:2.3:a:php:php:5.0:rc2:*:*:*:*:*:* |
| php | php | 5.0 | cpe:2.3:a:php:php:5.0:rc3:*:*:*:*:*:* |
| php | php | 5.0.0 | cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:* |
| php | php | 5.0.1 | cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:* |
| php | php | 5.0.2 | cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:* |
| php | php | 5.0.3 | cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:* |
| php | php | 5.0.4 | cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:* |
| php | php | 5.0.5 | cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:* |
| php | php | 5.1.0 | cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:* |
| php | php | 5.1.1 | cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:* |
| php | php | 5.1.2 | cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:* |
| php | php | 5.1.3 | cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:* |
| php | php | 5.1.4 | cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:* |
| php | php | 5.1.5 | cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:* |
| php | php | 5.1.6 | cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:* |