{"id":"CVE-2020-35906","aliases":["CVE-2020-35906","GHSA-r93v-9p5q-vhpf","RUSTSEC-2020-0060"],"related":[],"kind":"vulnerability","state":"published","title":"futures_task::waker may cause a use-after-free if used on a type that isn't 'static","summary":"An issue was discovered in the futures-task crate before 0.3.6 for Rust. futures_task::waker may cause a use-after-free in a non-static type situation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the futures-task crate before 0.3.6 for Rust. futures_task::waker may cause a use-after-free in a non-static type situation.","source":"cvelist"},{"lang":"en","text":"Affected versions of the crate did not properly implement a 'static lifetime bound on the waker function. This resulted in a use-after-free if Waker::wake() is called after original data had been dropped.\n\nThe flaw was corrected by adding 'static lifetime bound to the data waker takes.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Affected versions of the crate did not properly implement a `'static` lifetime bound on the `waker` function.\nThis resulted in a use-after-free if `Waker::wake()` is called after original data had been dropped.\n\nThe flaw was corrected by adding `'static` lifetime bound to the data `waker` takes.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate futures-task versiones anteriores a 0.3.6 para Rust.&#xa0;La función futures_task::waker puede causar un uso de la memoria previamente liberada en una situación de tipo no estático.","source":"nvd"}],"published":"2020-09-04T12:00:00.000Z","modified":"2026-06-17T03:14:34.740Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","score":7.2,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.2.1","status":"affected","fixed":"0.3.6"}],"ecosystem":"crates.io","package":"futures-task","purl":"pkg:cargo/futures-task","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.2.2-0","status":"affected","fixed":"0.3.6"}],"ecosystem":"crates.io","package":"futures-task","purl":"pkg:cargo/futures-task","source":"rustsec"},{"ranges":[{"status":"affected","introduced":"0.2.1","fixed":"0.3.6"}],"vendor":"rust-lang","product":"futures-task","cpe":"cpe:2.3:a:rust-lang:futures-task:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0060.html","tags":["advisory","exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35906","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rust-lang/futures-rs/pull/2206","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/rust-lang/futures-rs","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/futures-task","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35906","url":"https://www.cve.org/CVERecord?id=CVE-2020-35906","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:13.207Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r93v-9p5q-vhpf","url":"https://github.com/advisories/GHSA-r93v-9p5q-vhpf","licence":"CC-BY-4.0","modified":"2025-10-30T19:53:41.000Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0060","url":"https://rustsec.org/advisories/RUSTSEC-2020-0060.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:38.611Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35906","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35906","licence":"Public domain","modified":"2026-06-17T03:14:34.740Z"}],"updatedAt":"2026-11-25T22:57:56.642Z","epss":{"score":0.00499,"percentile":0.44379,"date":"2026-12-01T12:00:22.000Z"}}