GHSA-j3w3-p6mr-3hrh `DynFuture` drop can construct a dangling reference
Unsound Drop implementation in DynFuture creates dangling references, potentially leading to memory corruption or crashes in Rust applications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-j3w3-p6mr-3hrh?
GHSA-j3w3-p6mr-3hrh is a memory corruption vulnerability in dyn-future, published on 21 Jan 2026.
Official 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.
Which versions are affected by GHSA-j3w3-p6mr-3hrh?
3 open source packages ship an affected version, including dyn-future.
| Package | Affected | Fixed in |
|---|---|---|
dyn-future crates.io | All versions to 3.0.4 | None |
dyn-future crates.io | All versions to 3.0.4 | None |
dyn-future crates.io | From 0.0.0-0 | None |
How do I fix GHSA-j3w3-p6mr-3hrh?
No fix has been published for GHSA-j3w3-p6mr-3hrh yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is GHSA-j3w3-p6mr-3hrh being exploited?
There is no known exploitation of GHSA-j3w3-p6mr-3hrh in the wild and no public exploit code.
Sources
Also known as RUSTSEC-2026-0079.