Vulnerability DatabaseRUSTSEC-2022-0007

RUSTSEC-2022-0007
Rust vulnerability analysis and mitigation

Overview

The vulnerability (RUSTSEC-2022-0007) was identified in the Rust qcell crate, specifically affecting the TCell and TLCell types. The issue stems from unsoundness in the covariant Q parameter of TCellOwner, which could lead to memory safety violations (GitHub Issue).

Technical details

The technical issue revolves around the covariant nature of the Q parameter in TCellOwner, which allows for potential type manipulation that can bypass Rust's memory safety guarantees. The vulnerability can be demonstrated through code that exploits this covariance to create invalid memory references (GitHub Issue).

Impact

When exploited, this vulnerability can lead to undefined behavior and memory corruption in Rust programs using the affected qcell crate components. The issue specifically impacts memory safety, which is one of Rust's core guarantees (GitHub Issue).

Exploitability

The vulnerability can be triggered through normal usage of the API when dealing with certain type relationships, particularly involving function pointer types with different lifetime bounds. A proof-of-concept exists demonstrating how the issue can be exploited to create invalid memory references (GitHub Issue).

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-mc9m-6fm9-pghcMEDIUM6.9
  • Python logoPython
  • zoo-kcl
NoYesAug 20, 2026
GHSA-jgvr-6x5w-hx5wMEDIUM6.9
  • Python logoPython
  • zoo-kcl
NoYesAug 20, 2026
CVE-2026-54136MEDIUM5.1
  • Rust logoRust
  • windmill-api
NoYesAug 20, 2026
RUSTSEC-2026-0266NONEN/A
  • Rust logoRust
  • internment
NoYesAug 20, 2026
RUSTSEC-2026-0265NONEN/A
  • Rust logoRust
  • proc-macro1
NoNoAug 20, 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