← Vulnerability feed

Vulnerability record · CVE-2008-2108 · published 7 May 2008

CVE-2008-2108: Php vulnerability

Php · Php

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.

9.8 CVSS 3.1 Critical EPSS 4.3% · top 8.6% CWE-331 · CWE-331
9.8CVSS 3.1 base score, v2 7.5
4.3%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
58References, 4 tagged exploit
16 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html Broken LinkExploit
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 LinkThird Party AdvisoryVDB Entry
http://www.sektioneins.de/advisories/SE-2008-02.txt Broken LinkExploit
http://www.ubuntu.com/usn/usn-628-1 Third Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/42226 Third Party AdvisoryVDB 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
http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html Broken LinkExploit
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

Track CVE-2008-2108 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2009-0846Mit kerberos 5 vulnerabilityThe asn1_decode_generaltime function in lib/krb5/asn.1/asn1_decode.c in the ASN.1 GeneralizedTime decoder in MIT Kerberos 5 (aka krb5) before 1.6.4 a…EPSS 8.9%10.0CVE-2007-0061Vmware ace memory buffer overflow vulnerabilityThe DHCP server in EMC VMware Workstation before 5.5.5 Build 56455 and 6.x before 6.0.1 Build 55017, Player before 1.0.5 Build 56455 and Player 2 bef…EPSS 6.5%10.0CVE-2007-0063Vmware ace vulnerabilityInteger underflow in the DHCP server in EMC VMware Workstation before 5.5.5 Build 56455 and 6.x before 6.0.1 Build 55017, Player before 1.0.5 Build 5…EPSS 20%10.0CVE-2007-0956Mit kerberos 5 missing authentication for critical function vulnerabilityThe telnet daemon (telnetd) in MIT krb5 before 1.6.1 allows remote attackers to bypass authentication and gain system access via a username beginning…EPSS 30%10.0CVE-2005-2700Apache http server vulnerabilityssl_engine_kernel.c in mod_ssl before 2.8.24, when using "SSLVerifyClient optional" in the global virtual host configuration, does not properly enfor…EPSS 31%10.0CVE-2004-1018Php vulnerabilityMultiple integer handling errors in PHP before 4.3.10 allow attackers to bypass safe mode restrictions, cause a denial of service, or execute arbitra…EPSS 16%10.0CVE-2004-1019Openpkg improper input validation vulnerabilityThe deserialization code in PHP before 4.3.10 and PHP 5.x up to 5.0.2 allows remote attackers to cause a denial of service and execute arbitrary code…EPSS 8.0%10.0CVE-2004-1063Php vulnerabilityPHP 4.x to 4.3.9, and PHP 5.x to 5.0.2, when running in safe mode on a multithreaded Unix webserver, allows local users to bypass safe_mode_exec_dir …EPSS 4.2%

Source: NIST National Vulnerability Database (record CVE-2008-2108), CISA KEV, FIRST EPSS (scores of 2026-11-23). This page is refreshed as NVD updates the record.