Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
rand_core versions 0.6.0 up to but not including 0.6.2 are affected. Because read_u32_into and read_u64_into mishandle buffer-length checks, a random number generator may be seeded with too little data. The source gives few details on what an attacker needs, so upgrade to rand_core 0.6.2.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.8 | Critical | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.013, the 69th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:21 UTC First seen by agentprime
- 31 Oct 2026, 15:21 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-w7j2-35mf-95p7
- OSV: GHSA-w7j2-35mf-95p7
- nvd.nist.gov/vuln/detail/CVE-2021-27378
- github.com/rust-random/rand/pull/1096
- github.com/rust-random/rand
- github.com/rust-random/rand/compare/0.6.0...rand_core-0.6.2#diff-f41b3dfa5ce28f3bee390d327c50621e141cf3569921f8e9ca15ccfcf25263a9R19
- github.com/rust-random/rand/compare/0.6.0...rand_core-0.6.2#diff-f41b3dfa5ce28f3bee390d327c50621e141cf3569921f8e9ca15ccfcf25263a9R28
- rustsec.org/advisories/RUSTSEC-2021-0023.html