{"cve":"CVE-2008-4107","nvd":{"published":"2008-09-18T17:59:33.063","modified":"2026-06-16T22:57:11.583","status":"Modified","description":"The (1) rand and (2) mt_rand functions in PHP 5.2.6 do not produce cryptographically strong random numbers, which allows attackers to leverage exposures in products that rely on these functions for security-relevant functionality, as demonstrated by the password-reset functionality in Joomla! 1.5.x and WordPress before 2.6.2, a different vulnerability than CVE-2008-2107, CVE-2008-2108, and CVE-2008-4102.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-189"],"references":["http://marc.info/?l=oss-security&m=122152830017099&w=2","http://osvdb.org/48700","http://secunia.com/advisories/31737","http://secunia.com/advisories/31870","http://securityreason.com/securityalert/4271"],"products":["php:php"],"source":"nvd","synced_at":"2026-10-19T19:52:44.811608366+00:00"},"epss":{"cve":"CVE-2008-4107","score":0.03013,"percentile":0.87419,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}