Vulnerability in PHP

CVE-2008-2108

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 · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.043 (90.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 90.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2008-2108: held from 0.043 to 0.043.

EPSS over last 30 days · oldest: 0.043 · newest: 0.043 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2008-2108?
CVE-2008-2108 is a critical-severity vulnerability in PHP, classified under Insufficient Entropy. CVSS score: 9.8/10. Published 2008-05-07.
How severe is CVE-2008-2108?
Critical severity. CVSS v3 base score is 9.8 out of 10.