# RUSTSEC-2026-0079: DynFuture drop can construct a dangling reference

- Database: RustSec
- Published: 2026-01-21
- Modified: 2026-04-05

## Also published as

- [GHSA-J3W3-P6MR-3HRH](https://cve.now/GHSA-J3W3-P6MR-3HRH.md) (GitHub)

## Affected versions

- dyn-future (crates.io): all versions

## Description

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. And the crate is unmaintained.

## References

- https://crates.io/crates/dyn-future
- https://rustsec.org/advisories/RUSTSEC-2026-0079.html
- https://github.com/rustsec/advisory-db/issues/2595

Page: https://cve.now/RUSTSEC-2026-0079

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
