All reports
High

futures_task::waker may cause a use-after-free if used on a type that isn't 'static

Affected versions

Version ranges need review.

Rust / Cargofutures-task
Affected versions
>= 0.2.1, < 0.3.6
Fixed version
0.3.6
Rust / Cargofutures-task
Affected versions
>=0.2.2-0 <0.3.6
Fixed version
0.3.6

Exploitation

CVE-2020-35906

Probability of exploitation in the next 30 days: 0.50%

FIRST EPSS · 2026-11-22

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.

The flaw was corrected by adding 'static lifetime bound to the data waker takes.

Links