{"id":"CVE-2020-35906","aliases":["EUVD-2022-5135","GHSA-r93v-9p5q-vhpf","RUSTSEC-2020-0060","UBUNTU-CVE-2020-35906"],"status":"published","title":"futures_task::waker may cause a use-after-free if used on a type that isn't 'static","description":"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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00499,"percentile":0.43095,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-416"],"published":"2020-09-04T12:00:00Z","modified":"2026-10-24T10:30:47Z","fixes":[{"ecosystem":"crates.io","package":"futures-task","fixed_in":["0.3.6"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"futures-task","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.1"},{"fixed":"0.3.6"}]}]},{"source":"osv","ecosystem":"crates.io","package":"futures-task","ranges":[{"type":"SEMVER","events":[{"introduced":"0.2.1"},{"fixed":"0.3.6"}]}]},{"source":"osv","ecosystem":"crates.io","package":"futures-task","ranges":[{"type":"SEMVER","events":[{"introduced":"0.2.2-0"},{"fixed":"0.3.6"}]}]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"rust-futures-task","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.8-1","0.3.17-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rust-futures-task","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.28-1","0.3.29-1","0.3.30-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rust-futures-task","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.31-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"rust-futures-task","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.31-3","0.3.32-1","0.3.33-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"rust-futures-task","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.31-3"]}],"products":[{"vendor":"rust-lang","product":"futures-task"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0060.html","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35906","tags":["advisory"]},{"url":"https://github.com/rust-lang/futures-rs/pull/2206","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-r93v-9p5q-vhpf"},{"url":"https://github.com/rust-lang/futures-rs","tags":["package"]},{"url":"https://crates.io/crates/futures-task","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2020-35906","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-35906","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-35906","description":"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.","status":"published","published":"2020-12-31T08:21:15Z","modified":"2024-08-04T17:16:13.207Z","updated_at":"2026-11-02T14:35:57.975444Z"}],"euvd":[{"id":"EUVD-2022-5135","description":"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.","status":"published","published":"2020-12-31T08:21:15Z","modified":"2024-08-04T17:16:13Z","updated_at":"2026-11-03T03:07:04.065361Z"}],"ghsa":[{"id":"GHSA-r93v-9p5q-vhpf","title":"futures_task::waker may cause a use-after-free if used on a type that isn't 'static","description":"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.","status":"published","published":"2022-05-24T17:37:49Z","modified":"2023-06-13T17:25:42Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:36:53.654352Z"}],"nvd":[{"id":"CVE-2020-35906","description":"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.","status":"published","published":"2020-12-31T09:15:15.177Z","modified":"2026-06-17T03:14:34.74Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:06:28.340168Z"}],"osv":[{"id":"CVE-2020-35906","description":"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.","status":"published","published":"2020-12-31T09:15:15.177Z","modified":"2026-10-24T10:30:47.372317912Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:16.612899Z"},{"id":"GHSA-r93v-9p5q-vhpf","title":"futures_task::waker may cause a use-after-free if used on a type that isn't 'static","description":"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.","status":"published","published":"2022-05-24T17:37:49Z","modified":"2025-10-30T19:53:41Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T15:46:55.480549Z"},{"id":"RUSTSEC-2020-0060","title":"futures_task::waker may cause a use-after-free if used on a type that isn't 'static","description":"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.","status":"published","published":"2020-09-04T12:00:00Z","modified":"2023-11-08T04:03:38.61105Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"},{"id":"UBUNTU-CVE-2020-35906","description":"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.","status":"published","published":"2020-12-31T09:15:00Z","modified":"2026-10-17T12:56:14.263827671Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:25.179924Z"}]}}
