CVE-2008-2108

CRITICAL

PHP <4.4.8 & <5.2.5 - Info Disclosure

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 9.8
EPSS 0.0561
EPSS Percentile 90.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-331
Status published
Products (8)
canonical/ubuntu_linux 6.06
canonical/ubuntu_linux 7.04
canonical/ubuntu_linux 7.10
canonical/ubuntu_linux 8.04
debian/debian_linux 4.0
fedoraproject/fedora 8
fedoraproject/fedora 9
php/php 4.0.0 - 4.4.8
Published May 07, 2008
Tracked Since Feb 18, 2026