Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentscrates.io

rand

Random number generation library whose default generator, rand::rng(), is automatically seeded from the operating system and intended for unpredictable output.

In short

What to know.

Algorithms
Cryptographically strong random number generationNone would be broken by a large quantum computer.
Advisories
2 in the storeOSV last read 3 December 2026, 16:52 UTC.
What to do
Check your version against the advisories below. Each lists its affected and fixed versions.

2 in the store

Advisories

Advisories for rand
AdvisoryIdAffected versionsFixed inSource's rating
Rand is unsound with a custom logger using rand::rng()GHSA-cq8v-f236-94qcfrom 0.9.0 before 0.9.3; from 0.10.0 before 0.10.1; listed versions 0.10.0; from 0.7.0 before 0.8.6Fixed in 0.9.3, 0.10.1, 0.8.6Rated Low
Rand is unsound with a custom logger using `rand::rng()`RUSTSEC-2026-0097from 0.10.0 before 0.10.1Fixed in 0.10.1

1 listed

Findings

Findings for rand
FindingIdSeverityUpdated
Rand is unsound with a custom logger using `rand::rng()`NMN-2026-01763 December 2026

Reviewed 3 December 2026

Sources

  1. crates.io metadata for randcrates.ioRetrieved 3 December 2026
  2. rand 0.10.4 README on crates.iocrates.ioRetrieved 3 December 2026
  3. rand documentationdocs.rsRetrieved 3 December 2026

Full record

Package
rand
Ecosystem
crates.io
Role
Implementation
Status
Not marked deprecated by its registry or maintainers.
Notes
Also contains non-cryptographic generators; the README asks users to judge whether its generators meet their security requirements.
Reviewed
Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
Advisories read
Last read from OSV 3 December 2026, 16:52 UTC
Findings
1 listed above.

Algorithms it provides

What a large quantum computer would change

  • Not applicableThe quantum question does not apply to this part.Cryptographically strong random number generation

Notes describe algorithm families, not any one project.