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 nvd@nist.gov.

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

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:
11/20/2024
Source:
Red Hat, Inc.