CVEvulnerability

CVE-2008-2107

7.5 HIGH Published 2008-05-07 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2008-05-07
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-189

Description

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 configurations

• php php (<= 4.4.7) • php php 5 • php php 5.0.0 • php php 5.0.1 • php php 5.0.2 • php php 5.0.3 • php php 5.0.4 • php php 5.0.5 • php php 5.1.0 • php php 5.1.1 • php php 5.1.2 • php php 5.1.3 • php php 5.1.4 • php php 5.1.5 • php php 5.1.6 • php php 5.2.0 • php php 5.2.1 • php php 5.2.2 • php php 5.2.3 • php php 5.2.4

Related

Weakness · not in database (1)

References