CVE-2009-2626 Information disclosure in n/a

Medium 6.4 Published Updated

Attackers can exploit PHP's ini_restore function to leak memory contents and crash the application, requiring a PHP version upgrade.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2009-2626?

CVE-2009-2626 is a medium-severity vulnerability in Php Php, published on 1 Dec 2009. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Which versions are affected by CVE-2009-2626?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2009-2626?

Upgrade to a fixed version.

Is CVE-2009-2626 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-2626 exists.

Public exploit code: 3 Exploit-DB entries.

All Php Php vulnerabilities

Sources

Also known as GHSA-5c54-wvq7-976j.

Is CVE-2009-2626 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free