SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2007-1700

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…

EXPLOIT ✓HIGH 7.5EPSS 9.14%

Does this matter?

A public exploit is published in Exploit-DB (verified) and the impact is high, while EPSS rates exploitation at 9.1%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.

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.

CVSS 2.0
7.5 HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS
9.14% probability · 95th percentile
Public exploits
1 in Exploit-DB · verified · first 25 March 2007
CISA KEV
Not listed
Affected
php/php
Source
cve@mitre.org
EPSS trend
0%5%10%26 October 2026: 9.14%26 October 202626 October 2026

EPSS 9.1% since 26 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-3571source ↗PHP < 4.4.5/5.2.1 - '_SESSION unset()' Local Overflowlinux · Stefan Esserlocal25 March 2007yes

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.