tokio

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.

1.54.1Latest, 21 Oct 2026
346MDownloads, last 90 days
0Advisories on the latest
13Advisories, all versions
MITLicence
34KStars
6.9/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Moderate Tokio: Race condition in `tokio::time::Interval` CVE-2026-115567 Fixed in 1.54.1 23 Oct 2026
Race condition in `tokio::time::Interval` on Tokio v1.54.0 CVE-2026-115567 Fixed in 1.54.1 21 Oct 2026
`AsyncFd::new` and related constructors violate I/O safety RUSTSEC-2026-0386 Fixed in 1.51.6, 1.53.3 13 Oct 2026
Low Tokio broadcast channel calls clone in parallel, but does not require `Sync` GHSA-rr8g-9fpq-6wmg Fixed in 1.44.2, 1.38.2, 1.43.1 7 Apr 2025
Broadcast channel calls clone in parallel, but does not require `Sync` RUSTSEC-2025-0023 Fixed in 1.42.1, 1.43.1, 1.44.2 7 Apr 2025
Low `tokio::io::ReadHalf<T>::unsplit` is Unsound GHSA-4q83-7cq4-p6wg Fixed in 1.24.2, 1.20.4, 1.18.5 4 Feb 2023
`tokio::io::ReadHalf<T>::unsplit` is Unsound RUSTSEC-2023-0005 Fixed in 1.18.5, 1.20.4, 1.24.2 11 Jan 2023
Moderate Tokio reject_remote_clients configuration may get dropped when creating a Windows named pipe CVE-2023-22466 Fixed in 1.18.4, 1.20.3, 1.23.1 6 Jan 2023
reject_remote_clients Configuration corruption CVE-2023-22466 Fixed in 1.18.4, 1.20.3, 1.23.1 4 Jan 2023
High Race Condition in tokio CVE-2021-45710 Fixed in 1.8.4, 1.13.1 6 Jan 2022
Data race when sending and receiving after closing a `oneshot` channel CVE-2021-45710 Fixed in 1.8.4, 1.13.1 16 Nov 2021
Moderate Race condition in tokio CVE-2021-38191 Fixed in 1.7.2, 1.6.3, 1.5.1 25 Aug 2021
Task dropped in wrong thread when aborting `LocalSet` task CVE-2021-38191 Fixed in 1.6.3, 1.7.2, 1.8.1 7 Jul 2021

In the news

On Hacker News

Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.