CVE-2020-35906
HIGH 7.8CVSS 3.1futures_task::waker may cause a use-after-free if used on a type that isn't 'static
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.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-416
- Also known as
- GHSA-r93v-9p5q-vhpfRUSTSEC-2020-0060
- Sources
- NVDJSONOSV GHSA-r93v-9p5q-vhpfJSONOSV RUSTSEC-2020-0060JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rust-lang | futures-taskcpe:2.3:a:rust-lang:futures-task:*:*:*:*:*:rust:*:* |
>= 0.2.1, < 0.3.6 | 0.3.6 |
| OSV | crates.io | futures-task | >= 0.2.1, < 0.3.6 | 0.3.6 |
| OSV | crates.io | futures-task | >= 0.2.2-0, < 0.3.6 | 0.3.6 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0060.html · Exploit, Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-35906 · ADVISORY
- https://github.com/rust-lang/futures-rs/pull/2206 · WEB
- https://github.com/rust-lang/futures-rs · PACKAGE
- https://crates.io/crates/futures-task · 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 4 Sep 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2022)