php session extension refcount handling issue
Published Mar 27, 2007
7.5
HIGHCVSS 2.0
EPSS 9.02%
Description
The session extension in PHP 4 before 4.4.5, and PHP 5 before 5.2.1, calculates the reference count for the session variables without considering the internal pointer from the session globals, which allows context-dependent attackers to execute arbitrary code via a crafted string in the session_register after unsetting HTTP_SESSION_VARS and _SESSION, which destroys the session data Hashtable.
Affected products
No data.
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0.0
- 4.0.1
- 4.0.1
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.3
- 4.0.4
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.0.7
- 4.0.7
- 4.0.7
- 4.1.0
- 4.1.1
- 4.1.2
- 4.2
- 4.2.0
- 4.2.1
- 4.2.2
- 4.2.3
- 4.3.0
- 4.3.1
- 4.3.2
- 4.3.3
- 4.3.4
- 4.3.5
- 4.3.6
- 4.3.7
- 4.3.8
- 4.3.9
- 4.3.10
- 4.3.11
- 4.4.0
- 4.4.1
- 4.4.2
- 4.4.3
- 4.4.4
- 5.0
- 5.0
- 5.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.2.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
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. This CVE name is a duplicate as the vulnerability is addressed by CVE-2007-0910.
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:L/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 (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 9.02% (0.09017) | 95.13th | v5 (v2026.06.15) |
| Jun 15, 2026 | 9.02% (0.09017) | 94.59th | v5 (v2026.06.15) |
| Dec 27, 2025 | 3.57% (0.03567) | 87.41th | v4 (v2025.03.14) |
| Oct 28, 2025 | 5.11% (0.05109) | 89.33th | v4 (v2025.03.14) |
| Oct 27, 2025 | 4.02% (0.04017) | 88.00th | v4 (v2025.03.14) |
| Oct 1, 2025 | 5.11% (0.05109) | 89.44th | v4 (v2025.03.14) |
| May 28, 2025 | 3.31% (0.03308) | 86.61th | v4 (v2025.03.14) |
| Mar 30, 2025 | 5.15% (0.05152) | 88.90th | v4 (v2025.03.14) |
| Mar 29, 2025 | 10.33% (0.10333) | 88.55th | v4 (v2025.03.14) |
| Mar 17, 2025 | 5.15% (0.05152) | 89.14th | v4 (v2025.03.14) |
| Dec 12, 2024 | 2.69% (0.02694) | 90.84th | v3 (v2023.03.01) |
| Jan 28, 2024 | 2.69% (0.02694) | 89.44th | v3 (v2023.03.01) |
| Dec 21, 2023 | 2.61% (0.02609) | 89.20th | v3 (v2023.03.01) |
| Nov 13, 2023 | 2.17% (0.02166) | 88.12th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.21% (0.02215) | 87.70th | 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 (21)
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 vendor-advisoryx_refsource_HP
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 vendor-advisoryx_refsource_HP
- http://secunia.com/advisories/25056 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/25057 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/25062 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/25423 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/25445 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/25850 third-party-advisoryx_refsource_SECUNIA
- http://security.gentoo.org/glsa/glsa-200705-19.xml vendor-advisoryx_refsource_GENTOO
- 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-30-2007.html x_refsource_MISC
- http://www.securityfocus.com/bid/23119 vdb-entryx_refsource_BIDExploit
- http://www.ubuntu.com/usn/usn-455-1 vendor-advisoryx_refsource_UBUNTU
- http://www.vupen.com/english/advisories/2007/1991 vdb-entryx_refsource_VUPEN
- http://www.vupen.com/english/advisories/2007/2374 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2007-1700 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=240167 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33520 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2007-1700
- https://www.cve.org/CVERecord?id=CVE-2007-1700
Change history (0)
No recorded changes yet.