CVE-2007-1700
The session extension in PHP 4 before 4.4.5, and PHP 5 before 5.2.1, calculates the reference...
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.
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2007-1700- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2007-1700- Updated
- 2026-11-02
EUVDEUVD-2007-1694 No score
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.
- Record
EUVD-2007-1694- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2966-gh5h-j633 No score
The session extension in PHP 4 before 4.4.5, and PHP 5 before 5.2.1, calculates the reference...
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.
- Record
GHSA-2966-gh5h-j633- Updated
- 2026-11-02
Affected products
Affected packages
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | PHP < 4.4.5/5.2.1 - '_SESSION unset()' Local Overflow | 2007-03-25 |
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-1700 is a high vulnerability (CVSS 7.5) in Php, published March 27, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 9.14%, the 95th percentile. No source names a fixed version.
References
vupen.com/english/advisories/2007/1991
secunia.com/advisories/25056
debian.org/security/2007/dsa-1283
h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506
security.gentoo.org/glsa/glsa-200705-19.xml
php-security.org/MOPB/MOPB-30-2007.html
Show 13 moreShow less
securityfocus.com/bid/23119
h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137
secunia.com/advisories/25062
vupen.com/english/advisories/2007/2374
secunia.com/advisories/25423
ubuntu.com/usn/usn-455-1
secunia.com/advisories/25850
secunia.com/advisories/25445
secunia.com/advisories/25057
exchange.xforce.ibmcloud.com/vulnerabilities/33520
novell.com/linux/security/advisories/2007_32_php.html
nvd.nist.gov/vuln/detail/CVE-2007-1700
github.com/advisories/GHSA-2966-gh5h-j633