What’s Vulnerable › Vulnerabilities
CVE-2007-1522
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 6.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2007-03-20 · updated 2026-06-16
Description
Double free vulnerability in the session extension in PHP 5.2.0 and 5.2.1 allows context-dependent attackers to execute arbitrary code via illegal characters in a session identifier, which is rejected by an internal session storage module, which calls the session identifier generator with an improper environment, leading to code execution when the generator is interrupted, as demonstrated by triggering a memory limit violation or certain PHP errors.
Affected products
- PHP: 5.2.0, 5.2.1
References
- http://secunia.com/advisories/24505
- http://secunia.com/advisories/25056
- http://www.novell.com/linux/security/advisories/2007_32_php.html
- http://www.php-security.org/MOPB/MOPB-23-2007.html
- http://www.securityfocus.com/bid/22971
- http://www.vupen.com/english/advisories/2007/0960
- http://secunia.com/advisories/24505
- http://secunia.com/advisories/25056
- http://www.novell.com/linux/security/advisories/2007_32_php.html
- http://www.php-security.org/MOPB/MOPB-23-2007.html
- http://www.securityfocus.com/bid/22971
- http://www.vupen.com/english/advisories/2007/0960
Get alerted when CVE-2007-1522 or the next vulnerability affects your stack