CVE-2009-2626: PHP

Medium severity, CVSS 6.4. EPSS: 8.3% chance of exploitation in the next 30 days.

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 PHP: up to and including 5.2.10; version 1.0 only; version 2.0 only; version 2.0b10 only; version 3.0 only; version 3.0.1 only; …

Published 2009-12-01. Last modified 2026-06-16.