# CVE-2020-35875: Excessive memory usage in tokio-rustls

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.35%, higher than 72% of CVEs (2026-12-02)
- Published: 2020-05-19T12:00:00.000Z
- Modified: 2026-06-17T03:14:30.803Z
- Also known as: GHSA-2jfv-g3fh-xq3v, RUSTSEC-2020-0019
- Weaknesses: CWE-400
- Assigned by: mitre

## Description

An issue was discovered in the tokio-rustls crate before 0.13.1 for Rust. Excessive memory usage may occur when data arrives quickly.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- tokio-rustls (crates.io): from 0.12.0 before 0.12.3; from 0.13.0 before 0.13.1
- tokio tokio-rustls: before 0.13.1

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- RustSec Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://rustsec.org/advisories/RUSTSEC-2020-0019.html> (advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35875> (advisory)
- <https://github.com/tokio-rs/tls/pull/14> (web)
- <https://github.com/tokio-rs/tls> (package)
- <https://crates.io/crates/tokio-rustls> (package)

## Sources

- CVE List: [CVE-2020-35875](https://www.cve.org/CVERecord?id=CVE-2020-35875), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-2jfv-g3fh-xq3v](https://github.com/advisories/GHSA-2jfv-g3fh-xq3v), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2020-0019](https://rustsec.org/advisories/RUSTSEC-2020-0019.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2020-35875](https://nvd.nist.gov/vuln/detail/CVE-2020-35875), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35875 · Whole record: https://cve.day/CVE-2020-35875.json · Rebuilt by cve.day 2026-11-25T22:57:56.684Z
