CVE-2009-2626

NameCVE-2009-2626
DescriptionThe 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.
SourceCVE (at NVD; LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-1940-1
NVD severitymedium (attack range: remote)
Debian Bugs540605

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php5 (PTS)wheezy (security), wheezy5.4.45-0+deb7u2fixed
jessie5.6.19+dfsg-0+deb8u1fixed
jessie (security)5.6.20+dfsg-0+deb8u1fixed
stretch, sid5.6.20+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5source(unstable)5.2.11.dfsg.1-1low540605
php5sourceetch5.2.0+dfsg-8+etch16mediumDSA-1940-1
php5sourcelenny5.2.6.dfsg.1-1+lenny4mediumDSA-1940-1

Notes

[etch] - php5 <no-dsa> (too risky to fix it there)
requires the script itself to set and then restore a config var

Search for package or bug name: Reporting problems