CVE-2020-35875
HIGH 7.5CVSS 3.1Excessive memory usage in tokio-rustls
An issue was discovered in the tokio-rustls crate before 0.13.1 for Rust. Excessive memory usage may occur when data arrives quickly.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-2jfv-g3fh-xq3vRUSTSEC-2020-0019
- Sources
- NVDJSONOSV GHSA-2jfv-g3fh-xq3vJSONOSV RUSTSEC-2020-0019JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tokio | tokio-rustlscpe:2.3:a:tokio:tokio-rustls:*:*:*:*:*:rust:*:* |
< 0.13.1 | 0.13.1 |
| OSV | crates.io | tokio-rustls | >= 0.12.0, < 0.12.3 | 0.12.3 |
| OSV | crates.io | tokio-rustls | >= 0.13.0, < 0.13.1 | 0.13.1 |
| OSV | crates.io | tokio-rustls | >= 0.12.0, < 0.12.3; >= 0.13.0, < 0.13.1 | 0.12.3, 0.13.1 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0019.html · Patch, Third Party Advisory, WEB, ADVISORY
- 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
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 May 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)