All vulnerabilitiesServers and applications
CVE-2008-4107 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…
Severity Medium 5.1
Published 18 Sept 2008
Last changed 16 Jun 2026
Added to UpHeron 14 Oct 2026
Sources NVD Affected software Software Affected versions PHPServers and applications · cpe:a:php:php Version 5.2.4 Version 5.2.3 Version 5.2.2 Version 5.2.1 All 63 release lines Every version up to 4.4.8 Every version up to 5.2.5 Version 4.0-beta1 Version 4.0-beta3 Version 4.0-rc1 Version 4.0-rc2 Version 4.0.0 Version 4.0.1 Version 4.0.1-patch1 Version 4.0.1-patch2 Version 4.0.2 Version 4.0.3-patch1 Version 4.0.4-patch1 Version 4.0.5 Version 4.0.6 Version 4.0.7-rc2 Version 4.0.7-rc3 Version 4.0.7-rc4 Version 4.0.7 Version 4.1.0 Version 4.1.1 Version 4.1.2 Version 4.2 Version 4.2.1 Version 4.2.2 Version 4.2.3 Version 4.3.0 Version 4.3.1 Version 4.3.2 Version 4.3.3 Version 4.3.4 Version 4.3.5 Version 4.3.6 Version 4.3.7 Version 4.3.8 Version 4.3.9 Version 4.3.10 Version 4.3.11 Version 4.4.0 Version 4.4.1 Version 4.4.2 Version 4.4.3 Version 4.4.4 Version 4.4.5 Version 4.4.6 Version 4.4.7 Version 5.0.0-beta1 Version 5.0.0-beta2 Version 5.0.0-beta4 Version 5.0.0-rc1 Version 5.0.1 Version 5.0.4 Version 5.0.5 Version 5.1.0 Version 5.1.2 Version 5.1.4 Version 5.1.5 Version 5.1.6 Version 5.2.0 Version 5.2.1 Version 5.2.2 Version 5.2.3 Version 5.2.4
References NVD https://nvd.nist.gov/vuln/detail/CVE-2008-4107 CVE.org https://www.cve.org/CVERecord?id=CVE-2008-4107