Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

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…

Medium5.1EPSS 3.0%
Published
Updated
Reserved
Assigned by
mitre

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.

Scores

CVSS scores of CVE-2008-4107, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified2.0Medium5.1AV:N/AC:H/Au:N/C:P/I:P/A:P
EPSS (exploitation in 30 days)
3.0% · top 13% of all CVEs (4 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.1.

Weakness

Affected products

  • n/a

    • affected n/a

References (19)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2008-4107 badge
[![CVE-2008-4107](https://trackcve.app/badge/CVE-2008-4107.svg)](https://trackcve.app/cve/CVE-2008-4107)

Record last updated .