CVE-2007-1522: Double Free

Published Mar 20, 2007
·
Updated

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 Software

2 affected components
PHP PHP=5.2.0
PHP PHP=5.2.1

Event History

Mar 20, 2007
CVE Published
08:19 PM
Mar 21, 2007
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2007-1522?

CVE-2007-1522 has a severity rating that indicates a potential for arbitrary code execution.

2

How do I fix CVE-2007-1522?

To fix CVE-2007-1522, you should upgrade to a version of PHP later than 5.2.1.

3

Which versions of PHP are affected by CVE-2007-1522?

CVE-2007-1522 affects PHP versions 5.2.0 and 5.2.1.

4

What kind of vulnerability is CVE-2007-1522?

CVE-2007-1522 is classified as a double free vulnerability.

5

Who can exploit CVE-2007-1522?

CVE-2007-1522 can be exploited by context-dependent attackers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203