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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2021-1804 | 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. |
Github GHSA |
GHSA-mmc9-pwm7-qj5w | Unaligned memory access in rand_core |
References
| Link | Providers |
|---|---|
| https://rustsec.org/advisories/RUSTSEC-2019-0035.html |
|
History
Wed, 19 Aug 2026 19:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Rust-random
Rust-random rand |
|
| CPEs | cpe:2.3:a:rust-random:rand:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Rand Project
Rand Project rand |
Rust-random
Rust-random rand |
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-04T15:33:05.759Z
Reserved: 2020-09-14T00:00:00.000Z
Link: CVE-2020-25576
No data.
Status : Modified
Published: 2020-09-14T19:15:11.473
Modified: 2026-08-19T19:21:55.070
Link: CVE-2020-25576
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA