CVE-2009-2626 json
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…
published 2009-12-01 16 y ago modified 2026-06-16 4 mo ago also EUVD-2009-2620
- cvss
- 6.4
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 8.3%
- EPSS 8.3% chance of exploitation in 30 days, percentile 94%
- public exploits
- 3
- Exploit-DB
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.
Patch / fix
Timeline
- First public exploit (EDB-33163)
- Published
Exploit prediction
8.31% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-33163 PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (2) remote, 2009-08-10
- EDB-33162 PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (1) remote, 2009-08-10
- EDB-10296 PHP 5.2.10/5.3.0 - 'ini_restore()' Memory Information Disclosure local, 2009-12-03
- securityreason.com http://securityreason.com/achievement_securityalert/65 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
Classification
- Technology feeds
References
-
debian.org
/security/2009/dsa-1940
vendor-advisory, patch
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=540605
patch
-
securityreason.com
/achievement_securityalert/65
third-party-advisory, exploit
-
secunia.com
/advisories/37482
third-party-advisory, vendor-advisory
- svn.php.net /viewvc/php/php-src/branches/PHP_5_3/Zend/zend_ini.c?r1=272370&r2=284156
-
securityfocus.com
/bid/36009
vdb-entry
Sources
- CVE List CVE-2009-2626
- NVD CVE-2009-2626
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.