{
    "id": "CVE-2006-4812",
    "published": "2006-10-10 04:06:00",
    "last_modified": "2026-06-16 22:29:50",
    "cvss_score": "10.0",
    "cvss_severity": "HIGH",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
    "cwe": "CWE-94",
    "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).",
    "epss_score": "0.20376",
    "epss_percentile": "0.97413",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-30 18:17:05",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "php",
            "product": "php"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "28760",
            "title": "PHP 3 < 5 - ZendEngine ECalloc Integer Overflow",
            "date": "2006-10-05",
            "url": "https://www.exploit-db.com/exploits/28760"
        }
    ],
    "refs_list": [
        "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",
        "http://secunia.com/advisories/22280",
        "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",
        "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",
        "http://www.hardened-php.net/files/CVE-2006-4812.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"
    ]
}