{"id":"CVE-2026-115567","aliases":["CVE-2026-115567","GHSA-5wjr-9356-4wc8","RUSTSEC-2026-0384"],"related":[],"kind":"vulnerability","state":"published","title":"Tokio: Race condition in `tokio::time::Interval`","summary":"Tokio is a runtime for writing applications with Rust. In 1.54.0, a race condition between tokio::time::Interval::poll_tick (including .tick().await) and the multi-threaded runtime's time driver could drop an internal timer entry without synchronizing with the driver thread that was firing it. The race caused a use-after-free on the timer's waker and task state in safe Rust, which could produce assertion panics, task reference-count corruption, or heap memory corruption. This issue is fixed in 1.54.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Tokio is a runtime for writing applications with Rust. In 1.54.0, a race condition between tokio::time::Interval::poll_tick (including .tick().await) and the multi-threaded runtime's time driver could drop an internal timer entry without synchronizing with the driver thread that was firing it. The race caused a use-after-free on the timer's waker and task state in safe Rust, which could produce assertion panics, task reference-count corruption, or heap memory corruption. This issue is fixed in 1.54.1.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nOn the multi-threaded runtime, there is a race condition between `Interval::poll_tick` and the runtime's time driver.\n\nThis affects `Interval` only. `Sleep` and `Timeout` are **not** affected.\n\n### Details\n\nIn 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.\n\nThis 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.\n\n### Impact\n\nThis may lead to crashes and use-after-frees in applications using `Interval` on a multi-threaded runtime.\n\nSince this issue is known to lead to crashes in production systems, the v1.54.0 release of Tokio has been yanked.\n\n### Credits\n\nThank you to [creepycode](https://github.com/ByteZ1337) and [carabistouille](https://github.com/carabistouflette) for reporting this privately using the procedure outlined in our security policy. They both reported the issue independently of each other.","format":"markdown","source":"ghsa"},{"lang":"en","text":"## Summary\n\nOn the multi-threaded runtime, there is a race condition between `Interval::poll_tick` and the runtime's time driver.\n\nThis affects `Interval` only. `Sleep` and `Timeout` are **not** affected.\n\n## Details\n\nIn 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.\n\nThis 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.\n\n## Impact\n\nThis may lead to crashes and use-after-frees in applications using `Interval` on a multi-threaded runtime.\n\nSince this issue is known to lead to crashes in production systems, the v1.54.0 release of Tokio has been yanked.\n\n## Credits\n\nThank you to [creepycode](https://github.com/ByteZ1337) and [carabistouille](https://github.com/carabistouflette) for reporting this privately using the procedure outlined in our security policy. They both reported the issue independently of each other.","format":"markdown","source":"rustsec"}],"published":"2026-10-21T12:00:00.000Z","modified":"2026-10-29T18:17:24.127Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","score":5.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","score":5.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"version":"= 1.54.0","status":"affected"}],"vendor":"tokio-rs","product":"tokio","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.54.0","status":"affected","fixed":"1.54.1"}],"ecosystem":"crates.io","package":"tokio","purl":"pkg:cargo/tokio","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.54.0","status":"affected","fixed":"1.54.1"}],"ecosystem":"crates.io","package":"tokio","purl":"pkg:cargo/tokio","source":"rustsec"}],"references":[{"url":"https://github.com/tokio-rs/tokio/security/advisories/GHSA-5wjr-9356-4wc8","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tokio-rs/tokio/pull/8458","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tokio-rs/tokio/pull/8692","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://github.com/tokio-rs/tokio/commit/2b4eba7833864c04ecd2f3e5f4a97ff4f6fa28d0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tokio-rs/tokio/commit/5ed619bbaba87357ee5103d71b75e7c84cad99c9","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tokio-rs/tokio/releases/tag/tokio-1.54.1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115567","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/tokio-rs/tokio","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0384.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/tokio","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-29T17:59:30.494Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-115567","url":"https://www.cve.org/CVERecord?id=CVE-2026-115567","licence":"CVE Terms of Use","modified":"2026-10-29T17:59:47.636Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5wjr-9356-4wc8","url":"https://github.com/advisories/GHSA-5wjr-9356-4wc8","licence":"CC-BY-4.0","modified":"2026-10-23T21:10:33.527Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0384","url":"https://rustsec.org/advisories/RUSTSEC-2026-0384.html","licence":"CC0-1.0","modified":"2026-10-24T08:30:13.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-115567","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115567","licence":"Public domain","modified":"2026-10-29T18:17:24.127Z"}],"updatedAt":"2026-11-25T22:59:46.999Z","epss":{"score":0.00111,"percentile":0.01437,"date":"2026-12-01T12:00:22.000Z"}}