Back

HIGH

PHP 32 bit weak random seed

Published May 7, 2008

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 products

Remediation

No remediation recorded yet.

Metrics

Weaknesses (1)

References (36)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published May 7, 2008
Updated Aug 7, 2024
Reserved May 7, 2008
NVD
Status Modified
Modified Jun 16, 2026
Red Hat
Severity Low
Public date May 6, 2008