Read the docs
TI-2020-18369 Aliases CVE-2020-35926GHSA-m9m5-cg5h-r582

An issue was discovered in the nanorand crate before 0.5.1 for Rust.

Priority MEDIUM 45CWE-330Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

An issue was discovered in the nanorand crate before 0.5.1 for Rust. It caused any random number generator (even ChaCha) to return all zeroes because integer truncation was mishandled.

Why it matters now

EPSS 0.01534 74th percentileScored 2026-11-07
Fix Fixed nanorand (crates.io): 0.5.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—nanorand (crates.io)before 0.5.10.5.1Patch availableGHSA-m9m5-cg5h-r582
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • nanorand (crates.io) Vendor— Affected before 0.5.1 Fixed in 0.5.1 Patch available GHSA-m9m5-cg5h-r582

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nanorand_project:nanorand:*:*:*:*:*:rust:*:*before 0.5.1VulnerableNanorand Project
  • cpe:2.3:a:nanorand_project:nanorand:*:*:*:*:*:rust:*:* Versions before 0.5.1 Vulnerable ·Nanorand Project

Remediation

  • Fix · GHSA-m9m5-cg5h-r582 nanorand (crates.io) Fixed in 0.5.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-35926
  2. 2026-10-03 Alias added: GHSA-m9m5-cg5h-r582

References

  • TI-2021-20792 An issue was discovered in the nanorand crate before 0.6.1 for Rust. CVSS 3.1CRITICAL 9.8

Sources