cve.bz

CVE-2020-25576

9.8 criticalEPSS 1.6%

Critical (9.8) in rust-random rand. EPSS 1.6% chance of exploitation in the next 30 days. Fixed in rand_core 0.3.1, 0.4.2.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.6% chance of exploitation in the next 30 days; higher than 75% of CVEs (scores of 2026-10-31)
CWE
CWE-704
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mmc9-pwm7-qj5wcrates.iorand_core>=0.4.0 <0.4.20.4.2
GHSA-mmc9-pwm7-qj5wcrates.iorand_core<0.3.10.3.1
RUSTSEC-2019-0035crates.iorand_core>=0.0.0-0 <0.3.1
>=0.4.0-0 <0.4.2
0.3.1, 0.4.2

References

Check your stackJSON