Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. dyn-future
  4. ›
  5. GHSA-j3w3-p6mr-3hrh

GHSA-j3w3-p6mr-3hrh: DynFuture Drop Can Construct a Dangling Reference

April 4, 2026

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

  • github.com/advisories/GHSA-j3w3-p6mr-3hrh
  • github.com/rustsec/advisory-db/issues/2595
  • github.com/xacrimon/dyn-future
  • rustsec.org/advisories/RUSTSEC-2026-0079.html

Code Behaviors & Features

Detect and mitigate GHSA-j3w3-p6mr-3hrh with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 3.0.4

Solution

Unfortunately, there is no solution available yet.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')

Source file

cargo/dyn-future/GHSA-j3w3-p6mr-3hrh.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:11 +0000.