CVEvulnerability

CVE-2007-1522

6.8 MEDIUM Published 2007-03-20 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2007-03-20
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P

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.

Affected configurations

• php php 5.2.0 • php php 5.2.1

References