VULNERABILITY INTELLIGENCE
CVE-2008-2108
CVSS score9.8 CRITICAL
EPSS probability4.29%
CISA KEVNot currently listed
Published2008-05-07
Last modified2026-06-16
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
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.
Weakness classification
- CWE-331: Insufficient Entropy
Primary references
- cve@mitre.org — Broken Link, Exploit
- cve@mitre.org — Broken Link
- cve@mitre.org — Broken Link
- cve@mitre.org — Broken Link
- cve@mitre.org — Broken Link
- cve@mitre.org — Broken Link
- cve@mitre.org — Broken Link
- cve@mitre.org — Broken Link
- cve@mitre.org — Third Party Advisory
- cve@mitre.org — Mailing List
- cve@mitre.org — Mailing List
- cve@mitre.org — Broken Link