Security mailing lists by PureSourceCode

CVE-2008-2107

HIGH 7.5CVSS 2.0

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.

Published
7 May 2008
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-189
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
<= 4.4.7
NVD php php
cpe:2.3:a:php:php:5:*:*:*:*:*:*:*
= 5
NVD php php
cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.0:rc3:*:*:*:*:*:*
= 5.0.0
NVD php php
cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*
= 5.0.1
NVD php php
cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*
= 5.0.2
NVD php php
cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:*
= 5.0.3
NVD php php
cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:*
= 5.0.4
NVD php php
cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:*
= 5.0.5
NVD php php
cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*
= 5.1.0
NVD php php
cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:*
= 5.1.1
NVD php php
cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:*
= 5.1.2
NVD php php
cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:*
= 5.1.3
NVD php php
cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*
= 5.1.4
NVD php php
cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:*
= 5.1.5
NVD php php
cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:*
= 5.1.6
NVD php php
cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*
= 5.2.0
NVD php php
cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:*
= 5.2.1
NVD php php
cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:*
= 5.2.2
NVD php php
cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:*
= 5.2.3
NVD php php
cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:*
= 5.2.4

References

History

  • 25 Nov 2026 20:14 UTC · NVD: first stored (published 7 May 2008)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.