Security mailing lists by PureSourceCode

CVE-2008-2108

CRITICAL 9.8CVSS 3.1

The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 64-bit systems, performs a multiplication that generates a portion of zero bits during conversion due to insufficient precision, which produces 24 bits of entropy and simplifies brute force attacks against protection mechanisms that use the rand and mt_rand functions.

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

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.0.0, < 4.4.8 4.4.8
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.2.5 5.2.5
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:*
= 8
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:*
= 9
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*
= 6.06
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*
= 7.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*
= 7.10
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:*
= 8.04
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
= 4.0

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.