CVE-2020-35906
Rust vulnerability analysis and mitigation

Overview

An issue was discovered in the futures-task crate before 0.3.6 for Rust. The vulnerability, identified as CVE-2020-35906, involves futures_task::waker potentially causing a use-after-free in a non-static type situation. The issue was reported on September 4, 2020, and the advisory was issued on October 31, 2020 (RustSec Advisory).

Technical details

The vulnerability stems from improper implementation of a 'static lifetime bound on the waker function. This implementation flaw could result in a use-after-free condition if Waker::wake() is called after the original data had been dropped. The vulnerability has been assigned a CVSS score of 7.8 (HIGH), indicating significant severity (RustSec Advisory).

Impact

The vulnerability can lead to use-after-free conditions, potentially resulting in arbitrary code execution, memory corruption, and memory management issues. The CVSS scoring indicates high impacts on confidentiality, integrity, and availability of affected systems (RustSec Advisory).

Exploitability

The vulnerability has a local attack vector with low attack complexity and requires low privileges with no user interaction. The scope is unchanged, meaning the impact is limited to the scope of the affected component (RustSec Advisory).

Mitigation and workarounds

The vulnerability was patched in version 0.3.6 of the futures-task crate by adding a 'static lifetime bound to the data waker takes. Versions 0.2.1 and earlier are unaffected by this vulnerability. Users are advised to upgrade to version 0.3.6 or later (RustSec Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-5x78-73v4-xg6wHIGH8.7
  • Rust logoRust
  • postgres-protocol
NoYesAug 24, 2026
GHSA-fx4f-mhw4-qm7jMEDIUM6.9
  • Rust logoRust
  • vibeio-http
NoYesAug 24, 2026
GHSA-3gjw-f78c-vvpwMEDIUM6.9
  • Rust logoRust
  • tokio-postgres
NoYesAug 24, 2026
GHSA-rgqc-3x5p-6gwgMEDIUM6.9
  • Rust logoRust
  • postgres-protocol
NoYesAug 24, 2026
RUSTSEC-2026-0267NONEN/A
  • Rust logoRust
  • stable-vec
NoYesAug 24, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management