CVE-2007-1521: PHP

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

Double free vulnerability in PHP before 4.4.7, and 5.x before 5.2.2, allows context-dependent attackers to execute arbitrary code by interrupting the session_regenerate_id function, as demonstrated by calling a userspace error handler or triggering a memory limit violation.

Affected products

  • PHP PHP: up to and including 5.2.1

Published 2007-03-20. Last modified 2026-06-16.