GHSA-j3w3-p6mr-3hrh: DynFuture Drop Can Construct a Dangling Reference
DynFuture is unsound because its Drop implementation transmutes a trait-object reference into unrelated reference types, which constructs an invalid reference from trait object metadata. This issue was reproduced against dyn-future 3.0.4 under Miri. The crate is unmaintained.
Published Apr 4, 2026
Affected packages
dyn-future
- Ecosystem
- Rust (crates.io)
- Affected
- <= 3.0.4
- Fixed in
- No patched version yet
- Check
cargo tree -i dyn-future
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
DynFuture is unsound because its Drop implementation transmutes a trait-object reference into unrelated reference types, which constructs an invalid reference from trait object metadata.
This issue was reproduced against dyn-future 3.0.4 under Miri. The crate is unmaintained.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
