{
    "id": "CVE-2007-1286",
    "published": "2007-03-06 20:19:00",
    "last_modified": "2026-06-16 22:37:17",
    "cvss_score": "6.8",
    "cvss_severity": "MEDIUM",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
    "cwe": null,
    "description": "Integer overflow in PHP 4.4.4 and earlier allows remote context-dependent attackers to execute arbitrary code via a long string to the unserialize function, which triggers the overflow in the ZVAL reference counter.",
    "epss_score": "0.40435",
    "epss_percentile": "0.98600",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-26 18:15:31",
    "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": "16310",
            "title": "PHP 4 - Unserialize() ZVAL Reference Counter Overflow (Cookie) (Metasploit)",
            "date": "2010-09-20",
            "url": "https://www.exploit-db.com/exploits/16310"
        },
        {
            "source": "exploit-db",
            "ref_id": "3396",
            "title": "PHP 4.4.4 - 'Unserialize()' ZVAL Reference Counter Overflow (PoC)",
            "date": "2007-03-02",
            "url": "https://www.exploit-db.com/exploits/3396"
        },
        {
            "source": "exploit-db",
            "ref_id": "9939",
            "title": "PHP < 4.5.0 - Unserialize Overflow (Metasploit)",
            "date": "2007-03-01",
            "url": "https://www.exploit-db.com/exploits/9939"
        }
    ],
    "refs_list": [
        "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506",
        "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137",
        "http://rhn.redhat.com/errata/RHSA-2007-0154.html",
        "http://rhn.redhat.com/errata/RHSA-2007-0155.html",
        "http://rhn.redhat.com/errata/RHSA-2007-0163.html",
        "http://secunia.com/advisories/24419",
        "http://secunia.com/advisories/24606",
        "http://secunia.com/advisories/24910",
        "http://secunia.com/advisories/24924",
        "http://secunia.com/advisories/24941",
        "http://secunia.com/advisories/24945",
        "http://secunia.com/advisories/25025",
        "http://secunia.com/advisories/25062",
        "http://secunia.com/advisories/25423",
        "http://secunia.com/advisories/25445",
        "http://secunia.com/advisories/25850",
        "http://security.gentoo.org/glsa/glsa-200703-21.xml",
        "http://security.gentoo.org/glsa/glsa-200705-19.xml",
        "http://www.debian.org/security/2007/dsa-1282",
        "http://www.debian.org/security/2007/dsa-1283",
        "http://www.mandriva.com/security/advisories?name=MDKSA-2007:087",
        "http://www.mandriva.com/security/advisories?name=MDKSA-2007:088",
        "http://www.osvdb.org/32771",
        "http://www.php-security.org/MOPB/MOPB-04-2007.html",
        "http://www.securityfocus.com/archive/1/466166/100/0/threaded"
    ]
}