CVE-2009-2626 EXPLOIT
6.4
MEDIUM · CVSS 2.0 · EPSS 8.3% (pctl 95)
Patch early
A public exploit exists.
Description
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.
Scoring
| CVSS | 6.4 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:P/I:N/A:P |
| EPSS | 8.31% — more likely to be exploited than 95% of all CVEs |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2009-12-01 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| php | php |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | PHP 5.2.10/5.3.0 - 'ini_restore()' Memory Information Disclosure | 2009-12-03 |
| exploit-db | PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (1) | 2009-08-10 |
| exploit-db | PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (2) | 2009-08-10 |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540605
- http://secunia.com/advisories/37482
- http://securityreason.com/achievement_securityalert/65
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/Zend/zend_ini.c?r1=272370&r2=284156
- http://www.debian.org/security/2009/dsa-1940
- http://www.securityfocus.com/bid/36009
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540605
- http://secunia.com/advisories/37482
- http://securityreason.com/achievement_securityalert/65
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/Zend/zend_ini.c?r1=272370&r2=284156
- http://www.debian.org/security/2009/dsa-1940
- http://www.securityfocus.com/bid/36009
→ the Explorer · watch your stack · NVD