CVE-2008-2107: PHP
High severity, CVSS 7.5. EPSS: 3.4% chance of exploitation in the next 30 days.
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.
Affected products
- PHP PHP: up to and including 4.4.7; version 5 only; version 5.0.0 only; version 5.0.1 only; version 5.0.2 only; version 5.0.3 only; …
Published 2008-05-07. Last modified 2026-06-16.