CVE-2006-4812

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).

Category

10.0
CVSS
Severity: Critical
CVSS 2.0 •
EPSS 27.04% Top 5%
Vendor Advisory securityfocus.com Vendor Advisory gentoo.org Vendor Advisory trustix.org Vendor Advisory redhat.com Vendor Advisory ubuntu.com Vendor Advisory redhat.com Vendor Advisory suse.com Vendor Advisory secunia.com Vendor Advisory hardened-php.net
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://secunia.com/advisories/22300 third party advisory
http://secunia.com/advisories/22650 third party advisory
http://securitytracker.com/id?1016984 vdb entry patch
http://secunia.com/advisories/22281 third party advisory
http://secunia.com/advisories/22338 third party advisory
http://www.securityfocus.com/bid/20349 vdb entry
http://www.securityfocus.com/archive/1/448953/100/0/threaded vendor advisory
http://www.gentoo.org/security/en/glsa/glsa-200610-14.xml vendor advisory
http://www.trustix.org/errata/2006/0055 vendor advisory
http://rhn.redhat.com/errata/RHSA-2006-0688.html vendor advisory
http://www.ubuntu.com/usn/usn-362-1 vendor advisory
http://rhn.redhat.com/errata/RHSA-2006-0708.html patch vendor advisory
http://secunia.com/advisories/22538 third party advisory
http://securityreason.com/securityalert/1691 third party advisory
http://www.hardened-php.net/advisory_092006.133.html vendor advisory
http://secunia.com/advisories/22533 third party advisory
http://www.hardened-php.net/files/CVE-2006-4812.patch patch
http://support.avaya.com/elmodocs2/security/ASA-2006-223.htm
https://exchange.xforce.ibmcloud.com/vulnerabilities/29362 vdb entry
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.161&r2=1.162
http://lists.suse.com/archive/suse-security-announce/2006-Oct/0002.html vendor advisory
http://www.securityfocus.com/archive/1/448014/100/0/threaded mailing list
http://secunia.com/advisories/22331 third party advisory
http://www.vupen.com/english/advisories/2006/3922 vdb entry
http://secunia.com/advisories/22280 third party advisory patch vendor advisory
http://support.avaya.com/elmodocs2/security/ASA-2006-234.htm

Frequently Asked Questions

What is the severity of CVE-2006-4812?
CVE-2006-4812 has been scored as a critical severity vulnerability.
How to fix CVE-2006-4812?
To fix CVE-2006-4812, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2006-4812 being actively exploited in the wild?
It is possible that CVE-2006-4812 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~27% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.