10.0
CRITICAL
CVE-2006-4812
Apache PHP Integer Overflow Arbitrary Code Execution Vulnerability
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).

INFO

Published Date :

Oct. 10, 2006, 4:06 a.m.

Last Modified :

April 9, 2025, 12:30 a.m.

Remotely Exploitable :

Yes !

Impact Score :

10.0

Exploitability Score :

10.0
Public PoC/Exploit Available at Github

CVE-2006-4812 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2006-4812 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Php php
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2006-4812.

URL Resource
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://rhn.redhat.com/errata/RHSA-2006-0688.html
http://rhn.redhat.com/errata/RHSA-2006-0708.html Patch Vendor Advisory
http://secunia.com/advisories/22280 Patch Vendor Advisory
http://secunia.com/advisories/22281
http://secunia.com/advisories/22300
http://secunia.com/advisories/22331
http://secunia.com/advisories/22338
http://secunia.com/advisories/22533
http://secunia.com/advisories/22538
http://secunia.com/advisories/22650
http://securityreason.com/securityalert/1691
http://securitytracker.com/id?1016984 Patch
http://support.avaya.com/elmodocs2/security/ASA-2006-223.htm
http://support.avaya.com/elmodocs2/security/ASA-2006-234.htm
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/files/CVE-2006-4812.patch Patch
http://www.securityfocus.com/archive/1/448014/100/0/threaded
http://www.securityfocus.com/archive/1/448953/100/0/threaded
http://www.securityfocus.com/bid/20349
http://www.trustix.org/errata/2006/0055
http://www.ubuntu.com/usn/usn-362-1
http://www.vupen.com/english/advisories/2006/3922
https://exchange.xforce.ibmcloud.com/vulnerabilities/29362
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://rhn.redhat.com/errata/RHSA-2006-0688.html
http://rhn.redhat.com/errata/RHSA-2006-0708.html Patch Vendor Advisory
http://secunia.com/advisories/22280 Patch Vendor Advisory
http://secunia.com/advisories/22281
http://secunia.com/advisories/22300
http://secunia.com/advisories/22331
http://secunia.com/advisories/22338
http://secunia.com/advisories/22533
http://secunia.com/advisories/22538
http://secunia.com/advisories/22650
http://securityreason.com/securityalert/1691
http://securitytracker.com/id?1016984 Patch
http://support.avaya.com/elmodocs2/security/ASA-2006-223.htm
http://support.avaya.com/elmodocs2/security/ASA-2006-234.htm
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/files/CVE-2006-4812.patch Patch
http://www.securityfocus.com/archive/1/448014/100/0/threaded
http://www.securityfocus.com/archive/1/448953/100/0/threaded
http://www.securityfocus.com/bid/20349
http://www.trustix.org/errata/2006/0055
http://www.ubuntu.com/usn/usn-362-1
http://www.vupen.com/english/advisories/2006/3922
https://exchange.xforce.ibmcloud.com/vulnerabilities/29362

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

C Perl 6 Perl ASP HTML Rich Text Format Visual Basic TeX Assembly Shell

Updated: 9 months, 3 weeks ago
1 stars 1 fork 1 watcher
Born at : June 13, 2019, 1:51 p.m. This repo has been linked 308 different CVEs too.

The vm images in this repo are lost, we recommend our new project: https://github.com/hust-open-atom-club/S2VulnHub

linux vulnerability reproduction cve edb

Shell C Perl PHP TeX Python Assembly Makefile HTML XSLT

Updated: 1 month, 2 weeks ago
329 stars 73 fork 73 watcher
Born at : July 30, 2015, 10:36 a.m. This repo has been linked 309 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2006-4812 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2006-4812 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

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

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:php:php:5.1:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 17, 2018

    Action Type Old Value New Value
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/448953/100/0/threaded [No Types Assigned]
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/448014/100/0/threaded [No Types Assigned]
    Added Reference http://www.securityfocus.com/archive/1/448953/100/0/threaded [No Types Assigned]
    Added Reference http://www.securityfocus.com/archive/1/448014/100/0/threaded [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 20, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/29362 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/29362 [No Types Assigned]
  • Initial Analysis by [email protected]

    Oct. 10, 2006

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2006-4812 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2006-4812 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

30.45 }} 3.41%

score

0.96432

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jun. 08, 2025 0:17