What’s Vulnerable › Vulnerabilities
CVE-2020-35926
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-12-31 · updated 2026-06-17
- Weakness: CWE-330
Description
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.
Affected products
- Nanorand Project Nanorand: before 0.5.1 — fixed in 0.5.1
How to fix
Upgrade to a fixed version: Nanorand Project Nanorand 0.5.1. Check the vendor advisory for mitigations.
References
- https://rustsec.org/advisories/RUSTSEC-2020-0089.html
- https://rustsec.org/advisories/RUSTSEC-2020-0089.html
Get alerted when CVE-2020-35926 or the next vulnerability affects your stack