Skip to main content
HIGH

CVE-2021-28875

CVSS v3

7.5

HIGH

EPSS Score

2.1 %

exploit probability, as of 2026-09-25

CISA KEV

No

known exploited

Exploitation

—

SSVC status

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.

Technical details

Published
2021-04-11

Frequently asked questions

What is CVE-2021-28875?

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.

Is CVE-2021-28875 actively exploited?

Active exploitation of CVE-2021-28875 has not been confirmed. Its EPSS score was 2.1% on 2026-09-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-28875?

CVE-2021-28875 has a CVSS v3 base score of 7.5 (HIGH severity).

Is CVE-2021-28875 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 500 free checks/month · Free API key