CWE
NVD-CWE-Other 415
Advisory Published
Updated

CVE-2007-1522: Double Free

First published: Tue 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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PHP=5.2.0
PHP=5.2.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2007-1522?

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

  • 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.

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

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

  • What kind of vulnerability is CVE-2007-1522?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203