rand_core

Core random number generator traits and tools for implementation.

0.10.1Latest, 2 Sep 2026
724MDownloads, last 90 days
0Advisories on the latest
4Advisories, all versions
MIT/Apache-2.0Licence
2.2KStars

Known advisories

Severity Advisory Fix Published
Critical Unaligned memory access in rand_core CVE-2020-25576 Fixed in 0.4.2, 0.3.1 25 Aug 2021
Critical Incorrect check on buffer length in rand_core CVE-2021-27378 Fixed in 0.6.2 25 Aug 2021
Incorrect check on buffer length when seeding RNGs CVE-2021-27378 Fixed in 0.6.2 12 Feb 2021
Unaligned memory access CVE-2020-25576 Fixed in 0.3.1, 0.4.2 19 Apr 2019

Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.