CVE-2008-2108

CRITICAL
9.8
CVSS Score
Published: May 7, 2008 at 09:00 PM UTC
Updated: June 16, 2026 at 10:53 PM UTC
4 products affected across 4 vendorsDebian LinuxFedoraUbuntu Linux

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.8
Exploit prediction
EPSS 4%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
4.0.0 ≤ v < 4.4.85.0.0 ≤ v < 5.2.5
Affected range stops below 4.4.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.2.5, so it looks safe — our inference, not a vendor statement

References (29)

Third Party Advisoryx_refsource_SECUNIABroken Link
http://secunia.com/advisories/30757
Third Party Advisoryx_refsource_SECUNIABroken Link
http://secunia.com/advisories/30828
Third Party Advisoryx_refsource_SECUNIABroken Link
http://secunia.com/advisories/31119
Third Party Advisoryx_refsource_SECUNIABroken Link
http://secunia.com/advisories/31124
Third Party Advisoryx_refsource_SECUNIABroken Link
http://secunia.com/advisories/31200
Third Party Advisoryx_refsource_SECUNIABroken Link
http://secunia.com/advisories/32746
Third Party Advisoryx_refsource_SECUNIABroken Link
http://secunia.com/advisories/35003

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-331

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card