{"id":"CVE-2007-1521","published":"2007-03-20T20:00:00Z","modified":"2024-08-07T12:59:08Z","title":"Double free vulnerability in PHP before 4.4.7, and 5.x before 5.2.2, allows context-dependent attackers to execute…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0861,"percentile":0.95216,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.vupen.com/english/advisories/2007/0960","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.vupen.com/english/advisories/2007/2732","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/25056","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2007/dsa-1283","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://secunia.com/advisories/24505","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://security.gentoo.org/glsa/glsa-200705-19.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://us2.php.net/releases/4_4_7.php","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/25062","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.ubuntu.com/usn/usn-455-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.debian.org/security/2007/dsa-1282","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://us2.php.net/releases/5_2_2.php","tags":["x_refsource_CONFIRM"]},{"url":"http://docs.info.apple.com/article.html?artnum=306172","tags":["x_refsource_CONFIRM"]},{"url":"http://www.php-security.org/MOPB/MOPB-22-2007.html","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/25159","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/25445","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/25057","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/25025","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/22968","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/26235","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":19.04},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2007-03-14"},"first":{"date":"2007-03-14","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/3479"},"provenance":"source"},"summary":{"text":"The flaw is a double free vulnerability in PHP, affecting versions before 4.4.7 and 5.x before 5.2.2, within the session_regenerate_id function. An attacker who can interrupt that function, for example by triggering a userspace error handler or a memory limit violation, may be able to execute arbitrary code in a context-dependent manner.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:55:22Z"},"euvd":{"id":"EUVD-2007-1515","exploited":false,"provenance":"source"},"exploits":[{"id":3479,"url":"https://www.exploit-db.com/exploits/3479","title":"PHP 5.2.1 - 'session_regenerate_id()' Double-Free","date":"2007-03-14","verified":true,"provenance":"source"}]}