Skip to content
Fencer Vulns
critical 10.0

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 more
    fixed: 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 more
    fixed: 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

  1. First public exploit (EDB-28760)
  2. 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

Sources

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.