Vulnerabilities · 2007 · Php
CVE-2007-1521
Php vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/24505 · Vendor Advisory
- secunia.com/advisories/25025 · Vendor Advisory
- secunia.com/advisories/25057 · Vendor Advisory
- secunia.com/advisories/25062 · Vendor Advisory
- www.php-security.org/MOPB/MOPB-22-2007.html · Exploit
- docs.info.apple.com/article.html?artnum=306172
- lists.apple.com/archives/security-announce//2007/Jul/msg00004.html
- secunia.com/advisories/25056
- nvd.nist.gov/vuln/detail/CVE-2007-1521
- cve.org/CVERecord?id=CVE-2007-1521
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.