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
Published Mar 20, 2007
6.8
MEDIUMCVSS 2.0
EPSS 6.61%
Description
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.
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 2, 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 (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 6.61% (0.06612) | 93.66th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.61% (0.06612) | 92.97th | v5 (v2026.06.15) |
| Dec 27, 2025 | 7.91% (0.07912) | 91.77th | v4 (v2025.03.14) |
| Jul 26, 2025 | 8.95% (0.08948) | 92.21th | v4 (v2025.03.14) |
| Mar 17, 2025 | 5.55% (0.05551) | 89.56th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.48% (0.01484) | 87.34th | v3 (v2023.03.01) |
| Jun 23, 2024 | 1.48% (0.01484) | 86.89th | v3 (v2023.03.01) |
| Dec 15, 2023 | 1.32% (0.01323) | 84.47th | v3 (v2023.03.01) |
| Nov 7, 2023 | 1.11% (0.01112) | 82.99th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.14% (0.01137) | 82.50th | v3 (v2023.03.01) |
| Mar 6, 2023 | 9.01% (0.09006) | 94.03th | v2 (v2022.01.01) |
| Apr 1, 2022 | 9.01% (0.09006) | 93.50th | v2 (v2022.01.01) |
| Feb 4, 2022 | 9.01% (0.09006) | 83.04th | v2 (v2022.01.01) |
No CWE recorded.
References (9)
- http://secunia.com/advisories/24505 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/25056 third-party-advisoryx_refsource_SECUNIA
- http://www.novell.com/linux/security/advisories/2007_32_php.html vendor-advisoryx_refsource_SUSE
- http://www.php-security.org/MOPB/MOPB-23-2007.html x_refsource_MISCExploitVendor Advisory
- http://www.securityfocus.com/bid/22971 vdb-entryx_refsource_BID
- http://www.vupen.com/english/advisories/2007/0960 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2007-1522 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2007-1522
- https://www.cve.org/CVERecord?id=CVE-2007-1522
| Link | Providers | Tags |
|---|---|---|
| http://secunia.com/advisories/24505 | third-party-advisoryx_refsource_SECUNIA | |
| http://secunia.com/advisories/25056 | third-party-advisoryx_refsource_SECUNIA | |
| http://www.novell.com/linux/security/advisories/2007_32_php.html | vendor-advisoryx_refsource_SUSE | |
| http://www.php-security.org/MOPB/MOPB-23-2007.html | x_refsource_MISCExploitVendor Advisory | |
| http://www.securityfocus.com/bid/22971 | vdb-entryx_refsource_BID | |
| http://www.vupen.com/english/advisories/2007/0960 | vdb-entryx_refsource_VUPEN | |
| https://access.redhat.com/security/cve/CVE-2007-1522 | Vendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2007-1522 | ||
| https://www.cve.org/CVERecord?id=CVE-2007-1522 |
Change history (0)
No recorded changes yet.