Home / Freebsd / Freebsd / CVE-2008-5162
CVE-2008-5162: is it exploited, and which versions of Freebsd are affected and fixed?
CVE-2008-5162 is a weak randomness vulnerability in Freebsd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: freebsd from 6.4 before 7.0, freebsd 6.3, freebsd 7.0 and 1 more (NVD). Fixed in 7.0 (NVD). Severity: High (7.0, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
What is CVE-2008-5162?
The arc4random function in the kernel in FreeBSD 6.3 through 7.1 does not have a proper entropy source for a short time period immediately after boot, which makes it easier for attackers to predict the function's return values and conduct certain attacks against the GEOM framework and various network protocols, related to the Yarrow random number generator.
From the CVE record by freebsd, last updated August 7, 2024, 10:40 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| freebsd | freebsd | from 6.4 before 7.0 | operating system |
| freebsd | freebsd | 6.3 | operating system |
| freebsd | freebsd | 7.0 | operating system |
| freebsd | freebsd | 7.1 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:59 UTC.
How severe is CVE-2008-5162?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.0 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.9 | CVSS 2.0 | AV:L/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2008-5162 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 26.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-330 Use of Insufficiently Random Values
Where are the vendor advisories and references?
- 32871 third-party-advisory, x_refsource_SECUNIA
- FreeBSD-SA-08:11 vendor-advisory, x_refsource_FREEBSD
- 1021276 vdb-entry, x_refsource_SECTRACK
- 50137 vdb-entry, x_refsource_OSVDB
- 32447 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- November 19, 2008
- Published
- November 26, 2008, 23:00 UTC
- CVE record updated
- August 7, 2024, 10:40 UTC by freebsd
- NVD
- Modified, last modified June 16, 2026, 22:59 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Freebsd?
- Oct 15, 2026CVE-2026-101311 FreeBSD: race condition
- Oct 15, 2026CVE-2026-101310 FreeBSD: buffer Over-read
- Oct 15, 2026CVE-2026-101309 FreeBSD: race condition
- Oct 15, 2026CVE-2026-101308 FreeBSD: time-of-check time-of-use race condition
- Oct 15, 2026CVE-2026-101307 FreeBSD: heap buffer overflow
- Oct 15, 2026CVE-2026-101303 FreeBSD: incorrectly Specified Destination in a Communication Channel
- Oct 15, 2026CVE-2026-101302 FreeBSD: off-by-one Error
- Oct 15, 2026CVE-2026-101306 FreeBSD: privilege escalation
Questions about CVE-2008-5162
Is CVE-2008-5162 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Freebsd are affected by CVE-2008-5162?
freebsd from 6.4 before 7.0, freebsd 6.3, freebsd 7.0 and freebsd 7.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2008-5162?
7.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2008-5162?
High (7.0, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2008-5162?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.