CVE-2020-25576

CRITICAL CVSS 3.1: 9.8 EPSS 1.60%
Updated Aug 19, 2026
Rust-Random
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions before 0.4.2
Fixed In 0.4.2
Type CWE-704
Vendor Rust-Random
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Rust-Random Rand
cpe:2.3:a:rust-random:rand:*:*:*:*:*:*:*:*
— 0.4.2