{"cve":"CVE-2020-25576","nvd":{"published":"2020-09-14T19:15:11.473","modified":"2026-08-19T19:21:55.070","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-704"],"references":["https://rustsec.org/advisories/RUSTSEC-2019-0035.html","https://rustsec.org/advisories/RUSTSEC-2019-0035.html"],"products":["rust-random:rand"],"source":"nvd","synced_at":"2026-10-19T21:09:20.498348299+00:00"},"epss":{"cve":"CVE-2020-25576","score":0.01602,"percentile":0.75822,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-mmc9-pwm7-qj5w","url":"https://osv.dev/vulnerability/GHSA-mmc9-pwm7-qj5w","summary":"Unaligned memory access in rand_core","modified":"2023-11-08T04:03:10.161773Z","packages":[{"ecosystem":"crates.io","name":"rand_core","purl":"pkg:cargo/rand_core","ranges":[">=0.4.0 <0.4.2"],"fixed":["0.4.2"]},{"ecosystem":"crates.io","name":"rand_core","purl":"pkg:cargo/rand_core","ranges":["<0.3.1"],"fixed":["0.3.1"]}]},{"id":"RUSTSEC-2019-0035","url":"https://osv.dev/vulnerability/RUSTSEC-2019-0035","summary":"Unaligned memory access","modified":"2023-11-08T04:03:10.161773Z","packages":[{"ecosystem":"crates.io","name":"rand_core","purl":"pkg:cargo/rand_core","ranges":[">=0.0.0-0 <0.3.1",">=0.4.0-0 <0.4.2"],"fixed":["0.3.1","0.4.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}