CVE-2008-2108
CRITICAL · CVSS 9.8EPSS 4.3%EU EUVD
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.
Key facts
- CVSS score
- 9.8 (v3.1)
- Severity
- CRITICAL
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
- CWE-331
- EPSS score
- 4.3% (91th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2008-2105)
- Published
- May 7, 2008
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2008-2105 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- canonical / ubuntu linux
- canonical / ubuntu linux
- canonical / ubuntu linux
- canonical / ubuntu linux
- debian / debian linux
- fedoraproject / fedora
- fedoraproject / fedora
- php / php
References
- http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html(Broken Link, Exploit)
- http://secunia.com/advisories/30757(Broken Link)
- http://secunia.com/advisories/30828(Broken Link)
- http://secunia.com/advisories/31119(Broken Link)
- http://secunia.com/advisories/31124(Broken Link)
- http://secunia.com/advisories/31200(Broken Link)
- http://secunia.com/advisories/32746(Broken Link)
- http://secunia.com/advisories/35003(Broken Link)
- http://security.gentoo.org/glsa/glsa-200811-05.xml(Third Party Advisory)
- http://securityreason.com/securityalert/3859(Mailing List)
- http://www.debian.org/security/2009/dsa-1789(Mailing List)
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:125(Broken Link)
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:126(Broken Link)
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:127(Broken Link)
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:128(Broken Link)
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:129(Broken Link)
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:130(Broken Link)
- http://www.redhat.com/support/errata/RHSA-2008-0505.html(Broken Link)
- http://www.redhat.com/support/errata/RHSA-2008-0544.html(Broken Link)
- http://www.redhat.com/support/errata/RHSA-2008-0545.html(Broken Link)
- http://www.redhat.com/support/errata/RHSA-2008-0546.html(Broken Link)
- http://www.redhat.com/support/errata/RHSA-2008-0582.html(Broken Link)
- http://www.securityfocus.com/archive/1/491683/100/0/threaded(Broken Link, Third Party Advisory, VDB Entry)
- http://www.sektioneins.de/advisories/SE-2008-02.txt(Broken Link, Exploit)
- http://www.ubuntu.com/usn/usn-628-1(Third Party Advisory)
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42226(Third Party Advisory, VDB Entry)
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844(Broken Link)
- https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html(Mailing List)
- https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html(Mailing List)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain