U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2006-4812 Detail

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


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

Vendor Statements (disclaimer)

Official Statement from Red Hat (06/26/2008)

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.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

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

Weakness Enumeration

CWE-ID CWE Name Source
CWE-94 Improper Control of Generation of Code ('Code Injection') cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

6 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2006-4812
NVD Published Date:
10/10/2006
NVD Last Modified:
04/08/2025
Source:
Red Hat, Inc.