nday
CVE-2007-1286

Integer overflow in PHP 4.4.4 and earlier allows remote context-dependent attackers to execute…Title composed by nday; the CVE record has none.

A public PoC appeared 5 days before the CVE record was published. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: exploitdb and metasploit. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in AV:N/AC:M/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:N/AC:M/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
Metasploit
Metasploit modules exploit/multi/php/php_unserialize_zval_cookie
Exploit-DB
Exploit-DB entries 16310, 3396, 9939
PHP
CPE names NVD's analysts give as vulnerable: a:php:php
open-source library / framework
CPE names NVD's analysts give as vulnerable: a:php:phpthe product type of PHP in nday's product registry

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

stage
POC
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2007-03-06T20:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2007-03-01, date only +2 more
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Event log

2007-03-01date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHP < 4.5.0 - Unserialize Overflow (Metasploit)” (EDB-9939). Verified by Exploit-DB.

src exploitdb 9939 · nday , bulk import · raw
{
  "id": 28763,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/9939",
  "occurred_at": "2007-03-01T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "9939",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/9939",
    "file": "exploits/php/remote/9939.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "remote",
    "title": "PHP < 4.5.0 - Unserialize Overflow (Metasploit)",
    "author": "sesser",
    "edb_id": 9939,
    "cve_ids": [
      "CVE-2007-1286"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2007-02-28",
    "date_updated": null,
    "date_published": "2007-03-01"
  }
}
2007-03-02date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHP 4.4.4 - 'Unserialize()' ZVAL Reference Counter Overflow (PoC)” (EDB-3396). Verified by Exploit-DB.

src exploitdb 3396 · nday , bulk import · raw
{
  "id": 23631,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/3396",
  "occurred_at": "2007-03-02T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "3396",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/3396",
    "file": "exploits/linux/dos/3396.php",
    "kind": "exploit",
    "tags": [],
    "type": "dos",
    "title": "PHP 4.4.4 - 'Unserialize()' ZVAL Reference Counter Overflow (PoC)",
    "author": "Stefan Esser",
    "edb_id": 3396,
    "cve_ids": [
      "CVE-2007-1286"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2007-03-01",
    "date_updated": "2016-09-27",
    "date_published": "2007-03-02"
  }
}
+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 96826,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2007-1286",
  "occurred_at": "2007-03-06T20:00:00Z",
  "observed_at": "2026-11-13T05:35:49.756212Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2007-03-06T20:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2010-09-20date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHP 4 - 'Unserialize()' ZVAL Reference Counter Overflow (Cookie) (Metasploit)” (EDB-16310). Verified by Exploit-DB.

src exploitdb 16310 · nday , bulk import · raw
{
  "id": 27349,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/16310",
  "occurred_at": "2010-09-20T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "16310",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/16310",
    "file": "exploits/multiple/remote/16310.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "remote",
    "title": "PHP 4 - 'Unserialize()' ZVAL Reference Counter Overflow (Cookie) (Metasploit)",
    "author": "Metasploit",
    "edb_id": 16310,
    "cve_ids": [
      "CVE-2007-1286"
    ],
    "platform": "multiple",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2010-09-20",
    "date_updated": "2011-03-06",
    "date_published": "2010-09-20"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/multi/php/php_unserialize_zval_cookie (PHP 4 unserialize() ZVAL Reference Counter Overflow (Cookie)). The source gives no release time for the module.

src metasploit exploit/multi/php/php_unserialize_zval_cookie · nday , bulk import · raw
{
  "id": 51574,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/php/php_unserialize_zval_cookie.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/php/php_unserialize_zval_cookie",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/php/php_unserialize_zval_cookie.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/php/php_unserialize_zval_cookie.rb",
    "rank": 200,
    "check": true,
    "title": "PHP 4 unserialize() ZVAL Reference Counter Overflow (Cookie)",
    "cve_ids": [
      "CVE-2007-1286"
    ],
    "fullname": "exploit/multi/php/php_unserialize_zval_cookie",
    "rank_name": "average",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-04-22 11:58:09 +0000",
    "vuln_disclosure_date": "2007-03-04"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.