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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | nanorand (crates.io) | before 0.5.1 | 0.5.1 | Patch available | GHSA-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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nanorand_project:nanorand:*:*:*:*:*:rust:*:* | before 0.5.1 | Vulnerable | Nanorand 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
- 2026-10-02 Threatist record created from CVE-2020-35926
- 2026-10-03 Alias added: GHSA-m9m5-cg5h-r582
References
Advisory 2
More Nanorand Project Nanorand vulnerabilities
- TI-2021-20792 An issue was discovered in the nanorand crate before 0.6.1 for Rust. CVSS 3.1CRITICAL 9.8
Sources
- CVE-2020-35926 · CVE Program
- CVE-2020-35926 · NVD
- FIRST EPSS
- GHSA-m9m5-cg5h-r582 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences