{"id":"CVE-2006-4812","published":"2006-10-09T18:00:00Z","modified":"2024-08-07T19:23:41Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.20734,"percentile":0.97596,"provenance":"source"},"cwes":[],"references":[{"url":"http://secunia.com/advisories/22300","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/22650","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securitytracker.com/id?1016984","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://secunia.com/advisories/22281","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/22338","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/20349","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securityfocus.com/archive/1/448953/100/0/threaded","tags":["vendor-advisory","x_refsource_OPENPKG"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200610-14.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.trustix.org/errata/2006/0055","tags":["vendor-advisory","x_refsource_TRUSTIX"]},{"url":"http://rhn.redhat.com/errata/RHSA-2006-0688.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.ubuntu.com/usn/usn-362-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://rhn.redhat.com/errata/RHSA-2006-0708.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://secunia.com/advisories/22538","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securityreason.com/securityalert/1691","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://www.hardened-php.net/advisory_092006.133.html","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/22533","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.hardened-php.net/files/CVE-2006-4812.patch","tags":["x_refsource_CONFIRM"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2006-223.htm","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/29362","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.161&r2=1.162","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.suse.com/archive/suse-security-announce/2006-Oct/0002.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.securityfocus.com/archive/1/448014/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/22331","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2006/3922","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/22280","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2006-234.htm","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.5,"factors":[{"name":"EPSS percentile","points":19.52},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2006-10-05"},"first":{"date":"2006-10-05","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/28760"},"provenance":"source"},"summary":{"text":"The flaw is an integer overflow in the PHP interpreter's memory allocation path, affecting PHP 5 up to 5.1.6 and PHP 4 before 4.3.0, specifically within the Zend Engine ecalloc function (Zend/zend_alloc.c).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:52Z"},"euvd":{"id":"EUVD-2006-4799","exploited":false,"provenance":"source"},"exploits":[{"id":28760,"url":"https://www.exploit-db.com/exploits/28760","title":"PHP 3 < 5 - ZendEngine ECalloc Integer Overflow","date":"2006-10-05","verified":true,"provenance":"source"}]}