CVE-2006-4812 in the critical feed json
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 unseriali…
published 2006-10-09 20 y ago modified 2026-06-16 4 mo ago also EUVD-2006-4799
- cvss
- 10.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 20.7%
- EPSS 20.7% chance of exploitation in 30 days, percentile 97%
- public exploits
- 1
- Exploit-DB
Summary
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).
Patch / fix
- php RHEL 2.1 4.1.2-2.12
- php-imap RHEL 2.1 4.1.2-2.12
- php-ldap RHEL 2.1 4.1.2-2.12
- php-odbc RHEL 2.1 4.1.2-2.12
- php-mysql RHEL 2.1 4.1.2-2.12
- php-pgsql RHEL 2.1 4.1.2-2.12
- php-manual RHEL 2.1 4.1.2-2.12
- php RHEL 1 APPLICATION_STACK 5.1.4-1.el4s1.4
red hat advisories RHSA-2006:0708RHSA-2006:0688
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2006-4812 updated
security flaw
-
Red Hat Application Stack v1 for Enterprise Linux AS (v.4) php 5.1.4-1.el4s1.4, php-gd 5.1.4-1.el4s1.4, php-dba 5.1.4-1.el4s1.4, php-pdo 5.1.4-1.el4s1.4, php-xml 5.1.4-1.el4s1.4, php-imap 5.1.4-1.el4s1.4, +10 more Red Hat Application Stack v1 for Enterprise Linux ES (v.4) php 5.1.4-1.el4s1.4, php-gd 5.1.4-1.el4s1.4, php-dba 5.1.4-1.el4s1.4, php-pdo 5.1.4-1.el4s1.4, php-xml 5.1.4-1.el4s1.4, php-imap 5.1.4-1.el4s1.4, +10 morefixed: vendor fix RHSA-2006:0688
-
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 php 4.1.2-2.12, php-imap 4.1.2-2.12, php-ldap 4.1.2-2.12, php-odbc 4.1.2-2.12, php-mysql 4.1.2-2.12, php-pgsql 4.1.2-2.12, +1 more Red Hat Enterprise Linux ES version 2.1 php 4.1.2-2.12, php-imap 4.1.2-2.12, php-ldap 4.1.2-2.12, php-odbc 4.1.2-2.12, php-mysql 4.1.2-2.12, php-pgsql 4.1.2-2.12, +1 more Red Hat Enterprise Linux WS version 2.1 php 4.1.2-2.12, php-imap 4.1.2-2.12, php-ldap 4.1.2-2.12, php-odbc 4.1.2-2.12, php-mysql 4.1.2-2.12, php-pgsql 4.1.2-2.12, +1 more Red Hat Linux Advanced Workstation 2.1 php 4.1.2-2.12, php-imap 4.1.2-2.12, php-ldap 4.1.2-2.12, php-odbc 4.1.2-2.12, php-mysql 4.1.2-2.12, php-pgsql 4.1.2-2.12, +1 morefixed: vendor fix RHSA-2006:0708
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-28760)
- Published
Exploit prediction
20.73% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-28760 PHP 3 < 5 - ZendEngine ECalloc Integer Overflow remote, 2006-10-05
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
- Technology feeds
References
-
rhn.redhat.com
/errata/RHSA-2006-0708.html
vendor-advisory, patch
-
securitytracker.com
/id?1016984
vdb-entry, patch
-
hardened-php.net
/files/CVE-2006-4812.patch
patch
-
secunia.com
/advisories/22280
third-party-advisory, patch, vendor-advisory
-
securityfocus.com
/archive/1/448953/100/0/threaded
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200610-14.xml
vendor-advisory
-
trustix.org
/errata/2006/0055
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2006-0688.html
vendor-advisory
-
ubuntu.com
/usn/usn-362-1
vendor-advisory
-
lists.suse.com
/archive/suse-security-announce/2006-Oct/0002.html
vendor-advisory
-
hardened-php.net
/advisory_092006.133.html
vendor-advisory
-
secunia.com
/advisories/22300
third-party-advisory
-
secunia.com
/advisories/22650
third-party-advisory
-
secunia.com
/advisories/22281
third-party-advisory
-
secunia.com
/advisories/22338
third-party-advisory
-
securityfocus.com
/bid/20349
vdb-entry
-
secunia.com
/advisories/22538
third-party-advisory
-
securityreason.com
/securityalert/1691
third-party-advisory
-
secunia.com
/advisories/22533
third-party-advisory
- support.avaya.com /elmodocs2/security/ASA-2006-223.htm
-
exchange.xforce.ibmcloud.com
/vulnerabilities/29362
vdb-entry
- cvs.php.net /viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.161&r2=1.162
-
securityfocus.com
/archive/1/448014/100/0/threaded
mailing-list
-
secunia.com
/advisories/22331
third-party-advisory
-
vupen.com
/english/advisories/2006/3922
vdb-entry
- support.avaya.com /elmodocs2/security/ASA-2006-234.htm
Sources
- CVE List CVE-2006-4812
- NVD CVE-2006-4812
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.