Live threats

All CVEs / Php

CVE-2008-2107Php

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
3.4%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
May 7, 2008
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-189
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 32-bit systems, performs a multiplication using values that can produce a zero seed in rare circumstances, which allows context-dependent attackers to predict subsequent values of the rand and mt_rand functions and possibly bypass protection mechanisms that rely on an unknown initial seed.

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
phpphp≤ 4.4.7
phpphp5
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.0
phpphp5.0.1
phpphp5.0.2
phpphp5.0.3
phpphp5.0.4
phpphp5.0.5
phpphp5.1.0
phpphp5.1.1
phpphp5.1.2
phpphp5.1.3
phpphp5.1.4
phpphp5.1.5
phpphp5.1.6
phpphp5.2.0
phpphp5.2.1
phpphp5.2.2
phpphp5.2.3
phpphp5.2.4

Official sources

References

Links published by the sources. Open them with care.