Every CVE Search/ Get API key

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...

6.4 MediumPublic exploitFix available

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.

Exploit likelihood

8.31%Up 1.5 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.4

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.

Record
CVE-2009-2626
CVSS 2.0
6.4 MediumAV:N/AC:L/Au:N/C:P/I:N/A:P
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2009-2626
Updated
2026-11-02
EUVDEUVD-2009-2620 No score

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.

Record
EUVD-2009-2620
Updated
2026-11-03
GitHub AdvisoriesGHSA-5c54-wvq7-976j No score

The zend_restore_ini_entry_cb function in zend_ini.c in PHP 5.3.0, 5.2.10, and earlier versions...

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.

Record
GHSA-5c54-wvq7-976j
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
php5
Debian:4.0
before 5.2.0+dfsg-8+etch16, plus listed versions
5.2.0+dfsg-8+etch155.2.0-105.2.0-10+lenny15.2.0-115.2.0-8+etch1
Show 13 moreShow less
5.2.0-8+etch105.2.0-8+etch115.2.0-8+etch11~p15.2.0-8+etch135.2.0-8+etch35.2.0-8+etch45.2.0-8+etch5~pu15.2.0-8+etch65.2.0-8+etch75.2.0-8+etch85.2.0-8+etch95.2.0-8+etch9~bpo31+15.2.0-9
5.2.0+dfsg-8+etch16
php5
Debian:5.0
before 5.2.6.dfsg.1-1+lenny4, plus listed versions
5.2.6.dfsg.1-1+lenny25.2.6.dfsg.1-1+lenny3
5.2.6.dfsg.1-1+lenny4

Public exploits

Links only. Every CVE stores no exploit code.

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2009-2626 is a medium vulnerability (CVSS 6.4) in Php, published November 25, 2009. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 8.31%, the 94th percentile. Fixed in php5 5.2.0+dfsg-8+etch16.

References

MoveEnter Open