CVE-2008-2108Php
Critical 9.8 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.3% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- May 7, 2008
- Updated
- Jun 16, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-331
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≥ 4.0.0 < 4.4.8 |
| php | php | ≥ 5.0.0 < 5.2.5 |
| fedoraproject | fedora | 8 |
| fedoraproject | fedora | 9 |
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- archives.neohapsis.com Broken Link Exploit
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- secunia.com Broken Link
- security.gentoo.org Third Party Advisory
- securityreason.com Mailing List
- www.debian.org Mailing List
- www.mandriva.com Broken Link
- www.mandriva.com Broken Link
- www.mandriva.com Broken Link
- www.mandriva.com Broken Link
- www.mandriva.com Broken Link
- www.mandriva.com Broken Link
- www.redhat.com Broken Link
- www.redhat.com Broken Link
- www.redhat.com Broken Link
- www.redhat.com Broken Link
- www.redhat.com Broken Link
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- www.sektioneins.de Broken Link Exploit
- www.ubuntu.com Third Party Advisory
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry
- oval.cisecurity.org Broken Link
- www.redhat.com Mailing List
- www.redhat.com Mailing List