Live threats

All CVEs / Php

CVE-2007-1522Php

Medium 6.8 No auth needed

Priority
56
CVSS 2.0
6.8
EPSS
6.7%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Mar 20, 2007
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp5.2.0
phpphp5.2.1

Official sources

References

Links published by the sources. Open them with care.