CVE-2021-28875

HIGH

Rust < 1.50.0 - Buffer Overflow

Title source: rule
STIX 2.1

Description

In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe context. This bug could lead to a buffer overflow.

Scores

CVSS v3 7.5
EPSS 0.0042
EPSS Percentile 61.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-252
Status published
Products (1)
rust-lang/rust < 1.50.0
Published Apr 11, 2021
Tracked Since Feb 18, 2026