RUSTSEC-2026-0574: `FindMutView::pop` after mutating the value would lead to a use after free
Published 2026-11-18 · Updated 2026-11-19
Summary
The heapless crate contains a use-after-free vulnerability in the FindMutView::pop method when called after mutating a value. Engineering teams using the affected heapless package should update immediately.
Who is affected
Deployments utilizing the heapless crate are affected when using the FindMutView::pop method after mutating the value. This flaw leads to a use-after-free condition under those specific operational conditions.
Exploitability
The CVSS vector is not provided and the base score is not computed. EPSS is not yet available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Update the crates.io heapless package to version 0.9.4 or later.
How to check your project
- Check Cargo.toml and Cargo.lock files to verify if the heapless crate version falls within the introduced 0.0.0-0 and fixed 0.9.4 range.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | heapless |
>= 0.0.0-0, < 0.9.4 | 0.9.4 | cargo update -p heapless --precise 0.9.4 |
FAQ
Which package is affected by RUSTSEC-2026-0574?
The crates.io package heapless is affected.
What is the fixed version for the vulnerability?
The fixed version is heapless 0.9.4.
Is this vulnerability actively exploited in the wild?
No, CISA Known Exploited Vulnerabilities status is no.
Original advisory description
References
- PACKAGE https://crates.io/crates/heapless
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0574.html
- WEB https://github.com/rust-embedded/heapless/pull/710
Source records: RUSTSEC-2026-0574 (OSV.dev).