Every CVE Search/ Get API key

CVE-2007-1700

The session extension in PHP 4 before 4.4.5, and PHP 5 before 5.2.1, calculates the reference...

7.5 HighPublic exploit

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

9.14%Down 18.8 points since Feb 4, 2022
90%50%10%1%

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 HighAV: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

Affected packages
PackageAffectedFixed
php5
Debian: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
php5
Debian:5.0
From an advisory covering 18 CVEs
before 5.2.0-10+lenny1
5.2.0-10+lenny1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBPHP < 4.4.5/5.2.1 - '_SESSION unset()' Local Overflow2007-03-25

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
aliases
first indexedCVE 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

Show 13 moreShow less
MoveEnter Open