Back
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…
High10.0EPSS 20.4%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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).
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 20.4% · top 2.5% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 10.0.
Weakness
Affected products
n/a
- affected n/a
References (26)
- 22300 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 22650 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 1016984 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 22281 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 22338 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20349 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- OpenPKG-SA-2006.023 (opens in a new tab)vendor-advisoryx_refsource_OPENPKGx_transferred
- GLSA-200610-14 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 2006-0055 (opens in a new tab)vendor-advisoryx_refsource_TRUSTIXx_transferred
- RHSA-2006:0688 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-362-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2006:0708 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 22538 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 1691 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- http://www.hardened-php.net/advisory_092006.133.html (opens in a new tab)x_refsource_MISCx_transferred
- 22533 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.hardened-php.net/files/CVE-2006-4812.patch (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://support.avaya.com/elmodocs2/security/ASA-2006-223.htm (opens in a new tab)x_refsource_CONFIRMx_transferred
- php-ecalloc-integer-overflow(29362) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.161&r2=1.162 (opens in a new tab)x_refsource_CONFIRMx_transferred
- SUSE-SA:2006:059 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 20061009 Advisory 09/2006: PHP unserialize() Array Creation Integer Overflow (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 22331 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2006-3922 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 22280 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://support.avaya.com/elmodocs2/security/ASA-2006-234.htm (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2006-4812)Record last updated .