Vulnerabilities · 2009 · Php
CVE-2009-2626
Php vulnerability
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.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/37482 · Vendor Advisory
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=540605 · Patch
- www.debian.org/security/2009/dsa-1940 · Patch
- securityreason.com/achievement_securityalert/65 · Exploit
- svn.php.net/viewvc/php/php-src/branches/PHP_5_3/Zend/zend_ini.c?r1=272370&r2=284156
- www.securityfocus.com/bid/36009
- nvd.nist.gov/vuln/detail/CVE-2009-2626
- cve.org/CVERecord?id=CVE-2009-2626
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.