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.
References
| Link | Resource |
|---|---|
| https://rustsec.org/advisories/RUSTSEC-2019-0035.html | Vendor Advisory |
| https://rustsec.org/advisories/RUSTSEC-2019-0035.html | Vendor Advisory |
Configurations
History
19 Aug 2026, 19:21
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:rust-random:rand:*:*:*:*:*:*:*:* | |
| First Time |
Rust-random rand
Rust-random |
21 Nov 2024, 05:18
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://rustsec.org/advisories/RUSTSEC-2019-0035.html - Vendor Advisory |
Information
Published : 2020-09-14 19:15
Updated : 2026-08-19 19:21
NVD link : CVE-2020-25576
Mitre link : CVE-2020-25576
CVE.ORG link : CVE-2020-25576
JSON object : View
Products Affected
rust-random
- rand
CWE
CWE-704
Incorrect Type Conversion or Cast
