Email me

Rust advisories / tokio

Unsound LowRUSTSEC-2025-0023 · tokio

RUSTSEC-2025-0023: Broadcast channel calls clone in parallel, but does not require `Sync`

Short answertokio has an API that can cause undefined behaviour from safe code: Broadcast channel calls clone in parallel, but does not require `Sync`. Fixed in 1.38.2, 1.42.1, 1.43.1, 1.44.2.

Cratetokio
TypeUnsound (memory-corruption)
Affected versionsFrom 0.2.5 before 1.38.2; from 1.39.0 before 1.42.1; from 1.43.0 before 1.43.1; from 1.44.0 before 1.44.2.
Fixed in1.38.2, 1.42.1, 1.43.1, 1.44.2
SeverityLow (GitHub rating)
Published2025-04-07
Last changed2025-10-28
Also known asGHSA-rr8g-9fpq-6wmg

What to do

  1. See which version you have: cargo tree -i tokio (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p tokio. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example tokio = "1.44.2") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

The broadcast channel internally calls clone on the stored value when receiving it, and only requires T:Send. This means that using the broadcast channel with values that are Send but not Sync can trigger unsoundness if the clone implementation makes use of the value being !Sync.

Thank you to Austin Bonander for finding and reporting this issue.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for tokio

Full security history of tokio

Up next

Same cratetokio: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ