Vulnerabilities · 2006 · Php
CVE-2006-4812
Php vulnerability
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).
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- rhn.redhat.com/errata/RHSA-2006-0708.html · Patch
- secunia.com/advisories/22280 · Patch
- www.hardened-php.net/advisory_092006.133.html · Vendor Advisory
- securitytracker.com/id?1016984 · Patch
- www.hardened-php.net/files/CVE-2006-4812.patch · Patch
- cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.161&r2=1.162
- lists.suse.com/archive/suse-security-announce/2006-Oct/0002.html
- rhn.redhat.com/errata/RHSA-2006-0688.html
- nvd.nist.gov/vuln/detail/CVE-2006-4812
- cve.org/CVERecord?id=CVE-2006-4812
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.