RUSTSEC-2026-0079
MEDIUMDynFuture 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
- 21 Jan 2026
- Last modified
- 5 Apr 2026
- Weakness
- CWE-843
- Also known as
- GHSA-j3w3-p6mr-3hrh
- Sources
- OSV GHSA-j3w3-p6mr-3hrhJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | dyn-future | <= 3.0.4 | |
| OSV | crates.io | dyn-future | >= 0.0.0-0 |
References
- https://github.com/rustsec/advisory-db/issues/2595 · WEB, REPORT
- https://github.com/xacrimon/dyn-future · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0079.html · WEB, ADVISORY
- https://crates.io/crates/dyn-future · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Apr 2026)