Skip to content
Fencer Intel
medium 6.4

CVE-2009-2626 json

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…

published 16y ago modified 4mo ago also EUVD-2009-2620

cvss
6.4
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
8.3%
EPSS 8.3% chance of exploitation in 30 days, percentile 95%
public exploits
3
Exploit-DB

Summary

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.

Patch / fix

Is CVE-2009-2626 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Timeline

  1. First public exploit (EDB-33163)
  2. Published

Exploit prediction

8.31% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-14).

Exploits and checks

  • EDB-33163 PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (2) remote, 2009-08-10
  • EDB-33162 PHP 5.2.10/5.3 - 'ini_restore()' Memory Information Disclosure (1) remote, 2009-08-10
  • EDB-10296 PHP 5.2.10/5.3.0 - 'ini_restore()' Memory Information Disclosure local, 2009-12-03
  • securityreason.com http://securityreason.com/achievement_securityalert/65 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 6.4 AV:N/AC:L/Au:N/C:P/I:N/A:P

Classification

Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.