Vulnerability DatabaseGHSA-9c9f-7x9p-4wqp

GHSA-9c9f-7x9p-4wqp
Rust vulnerability analysis and mitigation

Overview

A high-severity vulnerability was discovered in the qcell Rust package affecting versions prior to 0.4.3. The vulnerability (GHSA-9c9f-7x9p-4wqp) allows malicious coders to gain unsound access to TCell or TLCell memory through carefully constructed marker types, potentially leading to unauthorized memory access. The issue was discovered and reported on January 24, 2022, and was subsequently patched in version 0.4.3 (GitHub Advisory, RustSec Advisory).

Technical details

The vulnerability stems from the covariant Q parameter in TCellOwner and TLCellOwner implementations. By exploiting this covariance, attackers can bypass the singleton check in these components, potentially obtaining multiple mutable references to the same memory location or simultaneously acquiring both mutable and immutable references. The issue manifests through careful construction of marker types to be covariant, which allows circumvention of the intended memory safety guarantees (GitHub Issue).

Impact

When exploited, this vulnerability can lead to unsound memory access, allowing attackers to obtain multiple mutable references to the same memory location or simultaneous mutable and immutable references. This breaks Rust's fundamental memory safety guarantees and could potentially lead to memory corruption or data races (RustSec Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 0.4.3 of the qcell crate. The fix involves forcing the marker type to be invariant internally, which prevents the conversion between covariant types that Rust normally allows. Users are strongly advised to upgrade to version 0.4.3 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

CVE-2026-22698HIGH8.7
  • RustRust
  • sm2
NoNoJan 10, 2026
CVE-2026-22700HIGH7.5
  • RustRust
  • sm2
NoNoJan 10, 2026
CVE-2026-22699HIGH7.5
  • RustRust
  • sm2
NoNoJan 10, 2026
CVE-2026-22705MEDIUM6.4
  • RustRust
  • ml-dsa
NoYesJan 10, 2026
CVE-2025-15504MEDIUM4.8
  • PythonPython
  • lief
NoYesJan 10, 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