{"id":"CVE-2009-2626","published":"2009-12-01T16:00:00Z","modified":"2024-09-16T23:56:55Z","title":"The zend_restore_ini_entry_cb function in zend_ini.c in PHP 5.3.0, 5.2.10, and earlier versions allows…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.08306,"percentile":0.95059,"provenance":"source"},"cwes":[],"references":[{"url":"http://secunia.com/advisories/37482","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2009/dsa-1940","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540605","tags":["x_refsource_CONFIRM"]},{"url":"http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/Zend/zend_ini.c?r1=272370&r2=284156","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/36009","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://securityreason.com/achievement_securityalert/65","tags":["third-party-advisory","x_refsource_SREASONRES"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":19.01},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":3,"earliest":"2009-08-10"},"first":{"date":"2009-08-10","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/33162"},"provenance":"source"},"summary":{"text":"The zend_restore_ini_entry_cb function in zend_ini.c in PHP 5.3.0, 5.2.10, and earlier versions contains a flaw in PHP's configuration handling. An attacker in a suitable context can use ini_set to declare a variable and then ini_restore to restore it, which can disclose memory contents and crash the PHP process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:55:48Z"},"euvd":{"id":"EUVD-2009-2620","exploited":false,"provenance":"source"},"exploits":[{"id":10296,"url":"https://www.exploit-db.com/exploits/10296","title":"PHP 5.2.10/5.3.0 - 'ini_restore()' Memory Information Disclosure","date":"2009-12-03","verified":true,"provenance":"source"},{"id":33162,"url":"https://www.exploit-db.com/exploits/33162","title":"PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (1)","date":"2009-08-10","verified":true,"provenance":"source"},{"id":33163,"url":"https://www.exploit-db.com/exploits/33163","title":"PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (2)","date":"2009-08-10","verified":true,"provenance":"source"}]}