# GHSA-J3W3-P6MR-3HRH: DynFuture Drop Can Construct a Dangling Reference

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2026-04-04
- Modified: 2026-04-05

## Also published as

- [RUSTSEC-2026-0079](https://cve.now/RUSTSEC-2026-0079.md) (RustSec)

## Affected versions

- dyn-future (crates.io): through 3.0.4

## 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. The crate is unmaintained.

## References

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

Page: https://cve.now/GHSA-J3W3-P6MR-3HRH

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