CVE-2007-1521
Double free vulnerability in PHP before 4.4.7, and 5.x before 5.2.2, allows context-dependent...
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.
Exploit likelihood
What each source reports
NVD Score used
6.8
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.
- Record
CVE-2007-1521- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2007-1521- Updated
- 2026-11-02
EUVDEUVD-2007-1515 No score
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.
- Record
EUVD-2007-1515- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-68q8-gr3h-67jh No score
Double free vulnerability in PHP before 4.4.7, and 5.x before 5.2.2, allows context-dependent...
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.
- Record
GHSA-68q8-gr3h-67jh- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
php4Debian:3.1 From an advisory covering 7 CVEs |
before 4:4.3.10-20, plus listed versions 4:4.3.10-154:4.3.10-164:4.3.10-174:4.3.10-184:4.3.10-19 |
4:4.3.10-20 |
php4Debian:4.0 From an advisory covering 7 CVEs |
before 6:4.4.4-8+etch2, plus listed versions 6:4.4.4-8+etch1 |
6:4.4.4-8+etch2 |
php5Debian:4.0 From an advisory covering 17 CVEs |
before 5.2.0-8+etch3, plus listed versions 5.2.0-8+etch1 |
5.2.0-8+etch3 |
php5Debian:5.0 From an advisory covering 18 CVEs |
before 5.2.0-10+lenny1 | 5.2.0-10+lenny1 |
php4Debian:5.0 From an advisory covering 7 CVEs |
before 6:4.4.4-9+lenny1, plus listed versions 4.0.3pl1-0potato34.0.3pl1-0potato44:4.1.2-74:4.1.2-7.0.14:4.1.2-7.woody3 Show 41 moreShow less4:4.1.2-7.woody44:4.1.2-7.woody54:4.1.2-7woody14:4.1.2-7woody24:4.3.10-104:4.3.10-114:4.3.10-124:4.3.10-134:4.3.10-144:4.3.10-154:4.3.10-164:4.3.10-174:4.3.10-184:4.3.10-194:4.3.10-204:4.3.10-214:4.3.10-224:4.3.10-84:4.3.10-94:4.4.0-14:4.4.0-24:4.4.0-34:4.4.0-44:4.4.2-14:4.4.2-1+b14:4.4.2-1.14:4.4.4-14:4.4.4-24:4.4.4-34:4.4.4-44:4.4.4-4~44:4.4.4-54:4.4.4-64:4.4.4-76:4.4.4-86:4.4.4-8+etch16:4.4.4-8+etch26:4.4.4-8+etch36:4.4.4-8+etch46:4.4.4-8+etch66:4.4.4-9 |
6:4.4.4-9+lenny1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | PHP 5.2.1 - 'session_regenerate_id()' Double-Free | 2007-03-14 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| aliases | ||
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2007-1521 is a medium vulnerability (CVSS 6.8) in Php, published March 20, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 8.61%, the 95th percentile. No source names a fixed version.
References
vupen.com/english/advisories/2007/0960
vupen.com/english/advisories/2007/2732
secunia.com/advisories/25056
debian.org/security/2007/dsa-1283
secunia.com/advisories/24505
lists.apple.com/archives/security-announce//2007/Jul/msg00004.html
Show 17 moreShow less
security.gentoo.org/glsa/glsa-200705-19.xml
us2.php.net/releases/4_4_7.php
secunia.com/advisories/25062
ubuntu.com/usn/usn-455-1
debian.org/security/2007/dsa-1282
us2.php.net/releases/5_2_2.php
docs.info.apple.com/article.html?artnum=306172
php-security.org/MOPB/MOPB-22-2007.html
securityfocus.com/bid/25159
secunia.com/advisories/25445
secunia.com/advisories/25057
novell.com/linux/security/advisories/2007_32_php.html
secunia.com/advisories/25025
securityfocus.com/bid/22968
secunia.com/advisories/26235
nvd.nist.gov/vuln/detail/CVE-2007-1521
github.com/advisories/GHSA-68q8-gr3h-67jh