Read the docs
TI-2020-15604 Aliases CVE-2020-25576GHSA-mmc9-pwm7-qj5w

An issue was discovered in the rand_core crate before 0.4.2 for Rust.

Priority MEDIUM 45CWE-704Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-704 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.01602 75th percentileScored 2026-11-07
Fix Fixed rand_core (crates.io): 0.4.2, 0.3.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—rand_core (crates.io)0.4.0 to before 0.4.20.4.2Patch availableGHSA-mmc9-pwm7-qj5w
—rand_core (crates.io)before 0.3.10.3.1Patch availableGHSA-mmc9-pwm7-qj5w
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • rand_core (crates.io) Vendor— Affected 0.4.0 to before 0.4.2 Fixed in 0.4.2 Patch available GHSA-mmc9-pwm7-qj5w
  • rand_core (crates.io) Vendor— Affected before 0.3.1 Fixed in 0.3.1 Patch available GHSA-mmc9-pwm7-qj5w

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rust-random:rand:*:*:*:*:*:*:*:*before 0.4.2VulnerableRust-random
  • cpe:2.3:a:rust-random:rand:*:*:*:*:*:*:*:* Versions before 0.4.2 Vulnerable ·Rust-random

Remediation

  • Fix · GHSA-mmc9-pwm7-qj5w rand_core (crates.io) Fixed in 0.4.2 Advisory →
  • Fix · GHSA-mmc9-pwm7-qj5w rand_core (crates.io) Fixed in 0.3.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-25576
  2. 2026-10-03 Alias added: GHSA-mmc9-pwm7-qj5w

References

Sources