What’s Vulnerable › Vulnerabilities
CVE-2020-25576
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-09-14 · updated 2026-08-19
- Weakness: CWE-704
Description
An issue was discovered in the rand_core crate before 0.4.2 for Rust. Casting of byte slices to integer slices mishandles alignment constraints.
Affected products
- Rust-Random Rand: before 0.4.2 — fixed in 0.4.2
How to fix
Upgrade to a fixed version: Rust-Random Rand 0.4.2. Check the vendor advisory for mitigations.
References
- https://rustsec.org/advisories/RUSTSEC-2019-0035.html
- https://rustsec.org/advisories/RUSTSEC-2019-0035.html
Get alerted when CVE-2020-25576 or the next vulnerability affects your stack