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
Published Mar 20, 2007
6.8
MEDIUMCVSS 2.0
EPSS 8.49%
Description
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
Remediation
Red Hat statement
The PHP interpreter does not offer a reliable "sandboxed" security layer (as found in, say, a JVM) in which untrusted scripts can be run; any script run by the PHP interpreter must be trusted with the privileges of the interpreter itself. We therefore do not classify this issue as security-sensitive since no trust boundary is crossed.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (22 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 8.49% (0.08489) | 94.87th | v5 (v2026.06.15) |
| Jun 15, 2026 | 8.49% (0.08489) | 94.31th | v5 (v2026.06.15) |
| Feb 21, 2026 | 16.98% (0.16979) | 94.84th | v4 (v2025.03.14) |
| Dec 28, 2025 | 15.26% (0.15262) | 94.39th | v4 (v2025.03.14) |
| Dec 27, 2025 | 20.24% (0.20239) | 95.35th | v4 (v2025.03.14) |
| Nov 6, 2025 | 15.26% (0.15262) | 94.32th | v4 (v2025.03.14) |
| Oct 28, 2025 | 16.86% (0.16865) | 94.67th | v4 (v2025.03.14) |
| Oct 27, 2025 | 22.20% (0.22198) | 95.56th | v4 (v2025.03.14) |
| Oct 1, 2025 | 16.86% (0.16865) | 94.75th | v4 (v2025.03.14) |
| Jul 30, 2025 | 22.20% (0.22198) | 95.55th | v4 (v2025.03.14) |
| Jul 26, 2025 | 16.86% (0.16865) | 94.65th | v4 (v2025.03.14) |
| Mar 30, 2025 | 14.13% (0.14127) | 93.76th | v4 (v2025.03.14) |
| Mar 29, 2025 | 12.48% (0.12481) | 89.84th | v4 (v2025.03.14) |
| Mar 17, 2025 | 14.13% (0.14127) | 93.84th | v4 (v2025.03.14) |
| Dec 12, 2024 | 2.92% (0.02921) | 91.17th | v3 (v2023.03.01) |
| Jun 23, 2024 | 2.92% (0.02921) | 90.87th | v3 (v2023.03.01) |
| Jan 22, 2024 | 2.61% (0.02610) | 89.25th | v3 (v2023.03.01) |
| Dec 15, 2023 | 2.53% (0.02527) | 89.01th | v3 (v2023.03.01) |
| Nov 7, 2023 | 2.10% (0.02098) | 87.92th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.15% (0.02145) | 87.48th | v3 (v2023.03.01) |
| Mar 6, 2023 | 27.99% (0.27992) | 97.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 27.99% (0.27992) | 95.99th | v2 (v2022.01.01) |
No CWE recorded.
References (24)
- http://docs.info.apple.com/article.html?artnum=306172 x_refsource_CONFIRM
- http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html vendor-advisoryx_refsource_APPLE
- http://secunia.com/advisories/24505 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/25025 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/25056 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/25057 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/25062 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/25445 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/26235 third-party-advisoryx_refsource_SECUNIA
- http://security.gentoo.org/glsa/glsa-200705-19.xml vendor-advisoryx_refsource_GENTOO
- http://us2.php.net/releases/4_4_7.php x_refsource_CONFIRM
- http://us2.php.net/releases/5_2_2.php x_refsource_CONFIRM
- http://www.debian.org/security/2007/dsa-1282 vendor-advisoryx_refsource_DEBIAN
- http://www.debian.org/security/2007/dsa-1283 vendor-advisoryx_refsource_DEBIAN
- http://www.novell.com/linux/security/advisories/2007_32_php.html vendor-advisoryx_refsource_SUSE
- http://www.php-security.org/MOPB/MOPB-22-2007.html x_refsource_MISCExploitVendor Advisory
- http://www.securityfocus.com/bid/22968 vdb-entryx_refsource_BID
- http://www.securityfocus.com/bid/25159 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/usn-455-1 vendor-advisoryx_refsource_UBUNTU
- http://www.vupen.com/english/advisories/2007/0960 vdb-entryx_refsource_VUPEN
- http://www.vupen.com/english/advisories/2007/2732 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2007-1521 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2007-1521
- https://www.cve.org/CVERecord?id=CVE-2007-1521
Change history (0)
No recorded changes yet.