{"id":"CVE-2020-35875","aliases":["CVE-2020-35875","GHSA-2jfv-g3fh-xq3v","RUSTSEC-2020-0019"],"related":[],"kind":"vulnerability","state":"published","title":"Excessive memory usage in tokio-rustls","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the tokio-rustls crate before 0.13.1 for Rust. Excessive memory usage may occur when data arrives quickly.","source":"cvelist"},{"lang":"en","text":"tokio-rustls does not call process_new_packets immediately after read, so the expected termination condition wants_read always returns true. As long as new incoming data arrives faster than it is processed and the reader does not return pending, data will be buffered. This may cause DoS.","format":"markdown","source":"ghsa"},{"lang":"en","text":"`tokio-rustls` does not call `process_new_packets` immediately after `read`,\nso the expected termination condition `wants_read` always returns true.\nAs long as new incoming data arrives faster than it is processed\nand the reader does not return pending, data will be buffered.\n\nThis may cause DoS.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate tokio-rustls versiones anteriores a 0.13.1 para Rust. Un uso excesivo de la memoria puede ocurrir cuando los datos llegan rápidamente.","source":"nvd"}],"published":"2020-05-19T12:00:00.000Z","modified":"2026-06-17T03:14:30.803Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.12.0","status":"affected","fixed":"0.12.3"}],"ecosystem":"crates.io","package":"tokio-rustls","purl":"pkg:cargo/tokio-rustls","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.13.0","status":"affected","fixed":"0.13.1"}],"ecosystem":"crates.io","package":"tokio-rustls","purl":"pkg:cargo/tokio-rustls","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.12.0","status":"affected","fixed":"0.12.3"},{"type":"semver","introduced":"0.13.0","status":"affected","fixed":"0.13.1"}],"ecosystem":"crates.io","package":"tokio-rustls","purl":"pkg:cargo/tokio-rustls","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.13.1"}],"vendor":"tokio","product":"tokio-rustls","cpe":"cpe:2.3:a:tokio:tokio-rustls:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0019.html","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35875","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/tokio-rs/tls/pull/14","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/tokio-rs/tls","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/tokio-rustls","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35875","url":"https://www.cve.org/CVERecord?id=CVE-2020-35875","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:12.647Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2jfv-g3fh-xq3v","url":"https://github.com/advisories/GHSA-2jfv-g3fh-xq3v","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:36.949Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0019","url":"https://rustsec.org/advisories/RUSTSEC-2020-0019.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:36.949Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35875","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35875","licence":"Public domain","modified":"2026-06-17T03:14:30.803Z"}],"updatedAt":"2026-11-25T22:57:56.684Z","epss":{"score":0.01352,"percentile":0.72394,"date":"2026-12-02T12:00:21.000Z"}}