nday
CVE-2009-2626

The zend_restore_ini_entry_cb function in zend_ini.c in PHP 5.3.0, 5.2.10, and earlier versions…Title composed by nday; the CVE record has none.

A public PoC appeared 113 days before the CVE record was published. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. 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:L/Au:N/C:P/I:N/A:P (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:N/AC:L/Au:N/C:P/I:N/A:P (CVSS 2.0) from NVD's analysts
Exploit-DB
Exploit-DB entries 10296, 33162, 33163
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
2009-12-01T16:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2009-08-10, date only +2 more
ITWexploited
no record yet
KEVKEV
no record yet

Summary

The zend_restore_ini_entry_cb function in zend_ini.c in PHP 5.3.0, 5.2.10, and earlier versions allows context-specific attackers to obtain sensitive information (memory contents) and cause a PHP crash by using the ini_set function to declare a variable, then using the ini_restore function to restore the variable.

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

Event log

2009-08-10date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (1)” (EDB-33162). Verified by Exploit-DB.

src exploitdb 33162 · nday , bulk import · raw
{
  "id": 28746,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/33162",
  "occurred_at": "2009-08-10T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "33162",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/33162",
    "file": "exploits/php/remote/33162.php",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (1)",
    "author": "Maksymilian Arciemowicz",
    "edb_id": 33162,
    "cve_ids": [
      "CVE-2009-2626"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2009-08-10",
    "date_updated": "2014-05-03",
    "date_published": "2009-08-10"
  }
}
2009-08-10date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (2)” (EDB-33163). Verified by Exploit-DB.

src exploitdb 33163 · nday , bulk import · raw
{
  "id": 28747,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/33163",
  "occurred_at": "2009-08-10T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "33163",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/33163",
    "file": "exploits/php/remote/33163.php",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (2)",
    "author": "Maksymilian Arciemowicz",
    "edb_id": 33163,
    "cve_ids": [
      "CVE-2009-2626"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2009-08-10",
    "date_updated": "2014-05-03",
    "date_published": "2009-08-10"
  }
}
+DISdisclosed

CVE record published by certcc.

src cvelist · nday , bulk import · raw
{
  "id": 111849,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2009-2626",
  "occurred_at": "2009-12-01T16:00:00Z",
  "observed_at": "2026-11-13T05:35:59.158299Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2009-12-01T16:00:00.000Z",
    "assigner_short_name": "certcc"
  }
}
2009-12-03date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHP 5.2.10/5.3.0 - 'ini_restore()' Memory Information Disclosure” (EDB-10296). Verified by Exploit-DB.

src exploitdb 10296 · nday , bulk import · raw
{
  "id": 28650,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/10296",
  "occurred_at": "2009-12-03T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "10296",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/10296",
    "file": "exploits/php/local/10296.txt",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "PHP 5.2.10/5.3.0 - 'ini_restore()' Memory Information Disclosure",
    "author": "Maksymilian Arciemowicz",
    "edb_id": 10296,
    "cve_ids": [
      "CVE-2009-2626"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2009-12-02",
    "date_updated": "2016-12-01",
    "date_published": "2009-12-03"
  }
}

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.