All vulnerabilities
CVE-2026-115567GHSA-5wjr-9356-4wc8RUSTSEC-2026-0384

Tokio: Race condition in `tokio::time::Interval`

tokio-rs tokiorustLibraries & packages
CVSS
5.8Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
Fixed in1.54.1Fixed versionGitHub
Published23 Oct 2026Updated 23 Oct 2026CVE List

What fixes it

  • 1.54.1tokio, rustGitHub
  • 1.54.1tokio, crates.ioOSVcargo update -p tokio --precise 1.54.1

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

Summary

On the multi-threaded runtime, there is a race condition between Interval::poll_tick and the runtime's time driver.

This affects Interval only. Sleep and Timeout are not affected.

Details

In Tokio v1.54.0, a race condition between tokio::time::Interval::poll_tick (including .tick().await) and the runtime time driver can drop an internal timer entry without synchronizing with the driver thread that is firing it. This causes a data race and use-after-free on the timer's waker and task state in safe Rust, leading to assertion panics, task reference-count corruption, or heap memory corruption.

This bug was introduced by https://github.com/tokio-rs/tokio/pull/8458, and it was fixed by https://github.com/tokio-rs/tokio/pull/8692.

Impact

This may lead to crashes and use-after-frees in applications using Interval on a multi-threaded runtime.

Since this issue is known to lead to crashes in production systems, the v1.54.0 release of Tokio has been yanked.

Credits

Thank you to creepycode and carabistouille for reporting this privately using the procedure outlined in our security policy. They both reported the issue independently of each other.

Text from GitHub Advisory Database

Affected versions 4

  • tokio, rust= 1.54.0GitHub
  • tokioaffected: = 1.54.0CVE List
  • tokio, crates.iofrom 1.54.0, fixed in 1.54.1OSV
  • tokio, crates.io1.54.0OSV

References 9