All vulnerabilities

Servers and applications

CVE-2007-1522

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…

Severity
Medium 6.8
Published
20 Mar 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
6.7% in the next 30 daysHigher than 94% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 5.2.0
  • Version 5.2.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-1522
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-1522