All reports
Medium

futures_task::noop_waker_ref can segfault due to dereferencing a NULL pointer

Affected versions

Version ranges need review.

Rust / Cargofutures-task
Affected versions
>=0.0.0-0 <0.3.5
Fixed version
0.3.5
Rust / Cargofutures-task
Affected versions
< 0.3.5
Fixed version
0.3.5

Exploitation

CVE-2020-35907

Probability of exploitation in the next 30 days: 0.41%

FIRST EPSS · 2026-11-21

Description

Affected versions of the crate used a UnsafeCell in thread-local storage to return a noop waker reference, assuming that the reference would never be returned from another thread.

This resulted in a segmentation fault crash if Waker::wake_by_ref() was called on a waker returned from another thread due to it attempting to dereference a pointer that wasn't accessible from the main thread.

Links