# CVE-2024-27308: Mio's tokens for named pipes may be delivered after deregistration

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-03-06 · Modified: 2024-08-27
- Aliases: CGA-296h-chhm-7wwx, CGA-3p5p-x7jh-x74v, CGA-4whh-m5cg-v7jw, CGA-5vgx-vx33-7436, CGA-6fqr-vg85-5j77, CGA-6pm9-39jg-h4fv, CGA-7c65-qp53-j94p, CGA-7f37-v5wq-846r, CGA-8v5j-3vqh-8p59, CGA-c4x3-797w-p5g8, CGA-f2xh-vxr2-mfq3, CGA-ff4x-xv54-rv4v, CGA-g4vq-p94j-56p9, CGA-g9hx-2rpc-34mq, CGA-g9j5-4rj9-f7jq, CGA-gwmr-4p75-mhc4, CGA-h6m2-p742-p3vq, CGA-j6xg-277w-m2fr, CGA-jq48-3g52-267f, CGA-m343-fhvp-pwvh, CGA-mpgm-cqhq-7336, CGA-mq6f-c5p9-j3x4, CGA-mxq6-cfgg-c4p9, CGA-p3v5-jh3r-3933, CGA-pxjg-wqvc-5x6r, CGA-qxf5-g492-wjhx, CGA-vcwx-963c-qx57, CGA-w9m6-89jx-6r4r, CGA-wf67-m7mq-v675, CGA-x586-m9xw-993w, GHSA-r8w9-5wcg-vfj7, RUSTSEC-2024-0019
- Record: https://cvemate.com/vulnerability/CVE-2024-27308 · JSON: https://cvemate.com/vulnerability/CVE-2024-27308/json

## Description

```text
Mio is a Metal I/O library for Rust. When using named pipes on Windows, mio will under some circumstances return invalid tokens that correspond to named pipes that have already been deregistered from the mio registry. The impact of this vulnerability depends on how mio is used. For some applications, invalid tokens may be ignored or cause a warning or a crash. On the other hand, for applications that store pointers in the tokens, this vulnerability may result in a use-after-free. For users of Tokio, this vulnerability is serious and can result in a use-after-free in Tokio. The vulnerability is Windows-specific, and can only happen if you are using named pipes. Other IO resources are not affected. This vulnerability has been fixed in mio v0.8.11. All versions of mio between v0.7.2 and v0.8.10 are vulnerable. Tokio is vulnerable when you are using a vulnerable version of mio AND you are using at least Tokio v1.30.0. Versions of Tokio prior to v1.30.0 will ignore invalid tokens, so they are not vulnerable. Vulnerable libraries that use mio can work around this issue by detecting and ignoring invalid tokens.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS: 0.881%, percentile 60.384%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 34)

- chainguard berg (Chainguard): \< 0.3.5-r2
- chainguard cargo-audit (Chainguard): \< 0.21.2-r1
- chainguard kdash (Chainguard): \< 0.6.1-r4
- chainguard linkerd-network-validator (Chainguard): \< 0.1.2-r2
- chainguard pgcat (Chainguard): \< 1.2.0-r1
- chainguard pulumi-watch (Chainguard): \< 0.1.5-r4
- chainguard topgrade (Chainguard): \< 15.0.0-r0
- chainguard topgrade-bash-completion (Chainguard): \< 15.0.0-r0
- chainguard topgrade-doc (Chainguard): \< 15.0.0-r0
- chainguard topgrade-fish-completion (Chainguard): \< 15.0.0-r0
- chainguard topgrade-zsh-completion (Chainguard): \< 15.0.0-r0
- chainguard zellij (Chainguard): \< 0.41.2-r2
- chainguard zellij-bash-completion (Chainguard): \< 0.41.2-r2
- chainguard zellij-fish-completion (Chainguard): \< 0.41.2-r2
- chainguard zellij-zsh-completion (Chainguard): \< 0.41.2-r2
- wolfi berg (Wolfi): \< 0.3.5-r2
- wolfi cargo-audit (Wolfi): \< 0.21.2-r1
- wolfi kdash (Wolfi): \< 0.6.1-r4
- wolfi linkerd-network-validator (Wolfi): \< 0.1.2-r2
- wolfi pgcat (Wolfi): \< 1.2.0-r1

## References

- <https://github.com/tokio-rs/mio/security/advisories/GHSA-r8w9-5wcg-vfj7>
- <https://github.com/tokio-rs/tokio/issues/6369>
- <https://github.com/tokio-rs/mio/pull/1760>
- <https://github.com/tokio-rs/mio/commit/90d4fe00df870acd3d38f3dc4face9aacab8fbb9>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27308.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27308>
- <https://github.com/tokio-rs/mio>
- <https://crates.io/crates/mio>
- <https://rustsec.org/advisories/RUSTSEC-2024-0019.html>

---

Data as of 2026-12-05T10:02:28.339Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
