{"id":"CVE-2008-2108","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"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 multip…","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.","ai_summary":null,"severity":"critical","cvss":{"score":9.8,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":9.8,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":7.5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-331"],"remote":true,"remote_unauth":true,"epss":{"score":0.04289,"percentile":0.91339,"date":"2026-12-01"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html","kind":"vendor"},{"url":"http://security.gentoo.org/glsa/glsa-200811-05.xml","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0546.html","kind":"vendor"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:128","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0582.html","kind":"vendor"},{"url":"http://www.ubuntu.com/usn/usn-628-1","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0545.html","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:129","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0544.html","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:125","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0505.html","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:130","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:126","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:127","kind":"vendor"},{"url":"http://www.debian.org/security/2009/dsa-1789","kind":"vendor"},{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html","kind":"exploit"},{"url":"http://www.sektioneins.de/advisories/SE-2008-02.txt","kind":"exploit"},{"url":"http://secunia.com/advisories/32746","kind":"other"},{"url":"http://secunia.com/advisories/30828","kind":"other"},{"url":"http://securityreason.com/securityalert/3859","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42226","kind":"other"},{"url":"http://secunia.com/advisories/31124","kind":"other"},{"url":"http://secunia.com/advisories/31119","kind":"other"},{"url":"http://secunia.com/advisories/31200","kind":"other"},{"url":"http://secunia.com/advisories/30757","kind":"other"},{"url":"http://secunia.com/advisories/35003","kind":"other"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/491683/100/0/threaded","kind":"other"}],"workarounds":null,"vendors":["canonical","debian","fedoraproject","php"],"products":["debian_linux","fedora","php","ubuntu_linux"],"cpes":["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:*","cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:*"],"published_at":"2008-05-07T21:00:00.000Z","modified_at":"2026-06-16T22:53:07.100Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2108"}],"links":{"html":"https://flawdb.com/CVE-2008-2108","markdown":"https://flawdb.com/CVE-2008-2108.md","json":"https://flawdb.com/api/v1/entries/CVE-2008-2108"}}