ADVISORIES

Vulnerability

CVE-2021-27378

An issue was discovered in the rand_core crate before 0.6.2 for Rust. Because read_u32_into and read_u64_into mishandle certain buffer-length checks, a random number generator may be seeded with too little data.

4 advisories report this vulnerability, across 3 ecosystems.

Critical severity All crates.io 2Azure Linux 1Ubuntu 1

Advisories

  • AZL-41851

    CVE-2021-27378 affecting package librsvg2 for versions less than 2.58.1-1

    CVE-2021-27378 Azure Linux Updated 21 April 2026
  • GHSA-w7j2-35mf-95p7

    Incorrect check on buffer length in rand_core

    Critical CVE-2021-27378 crates.io Updated 8 November 2023
  • RUSTSEC-2021-0023

    Incorrect check on buffer length when seeding RNGs

    CVE-2021-27378 crates.io Updated 8 November 2023
  • UBUNTU-CVE-2021-27378

    An issue was discovered in the rand_core crate before 0.6.2 for Rust. Because read_u32_into and read_u64_into mishandle certain buffer-length checks, a random number generator may be seeded with too little data.

    CVE-2021-27378 Ubuntu Updated 17 October 2026

References