CVE-2020-35875 json
Excessive memory usage in tokio-rustls
published 2020-05-19 6 y ago modified 2026-06-17 4 mo ago also GHSA-2jfv-g3fh-xq3v , RUSTSEC-2020-0019 , EUVD-2021-1514
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
An issue was discovered in the tokio-rustls crate before 0.13.1 for Rust. Excessive memory usage may occur when data arrives quickly.
Patch / fix
- crates.io tokio-rustls 0.12.3, 0.13.1
- tokio tokio-rustls 0.13.1
- github.com/tokio-rs/tls#14 pull request
- rustsec.org/advisories/RUSTSEC-2020-0019.html advisory
Exploit prediction
1.35% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | tokio-rustls | >=0.12.0, <0.12.3 >=0.13.0, <0.13.1 |
0.12.3 0.13.1 |
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
rustsec.org
/advisories/RUSTSEC-2020-0019.html
web, patch, third-party-advisory, advisory
-
github.com
/tokio-rs/tls/pull/14
web
-
nvd.nist.gov
/vuln/detail/CVE-2020-35875
advisory
-
github.com
/tokio-rs/tls
package
-
crates.io
/crates/tokio-rustls
package
Sources
- CVE List CVE-2020-35875
- GitHub Advisory GHSA-2jfv-g3fh-xq3v
- NVD CVE-2020-35875
- OSV RUSTSEC-2020-0019
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.