Vulnerability DatabaseGHSA-f85w-wvc7-crwc

GHSA-f85w-wvc7-crwc
Rust vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-f85w-wvc7-crwc) affects the bumpalo Rust crate versions 1.1.0 through 3.11.1, where a lifetime error in Vec::into_iter() could lead to use-after-free vulnerabilities. The issue was discovered and disclosed in January 2023, affecting the core functionality of the bumpalo collections module. The vulnerability stems from the iterator produced by Vec::into_iter() not being properly constrained to the lifetime of the Bump that allocated the vector's memory (GitHub Advisory, RustSec Advisory).

Technical details

The technical issue involves the lifetime constraints of the IntoIter type produced by Vec::into_iter(). When the iterator is used after the Bump (memory allocator) is dropped, it results in use-after-free memory access. The vulnerability was assigned a Moderate severity rating. The core problem lies in the implementation where the iterator's lifetime was not properly tied to the Bump that allocated the vector's memory, allowing potential memory corruption through invalid memory access after deallocation (GitHub Advisory).

Impact

The vulnerability can lead to memory corruption and potential exposure of sensitive information through use-after-free access patterns. When exploited, it allows access to deallocated memory regions, which could contain sensitive data from other parts of the program. This could potentially lead to information disclosure or program crashes (RustSec Advisory).

Mitigation and workarounds

The vulnerability was fixed in version 3.11.1 of the bumpalo crate. The fix involved adding a lifetime parameter to the IntoIter type and updating the signature of Vec::into_iter() to properly constrain this lifetime. Users should upgrade to version 3.11.1 or later to resolve this security issue (Bumpalo Changelog).

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-22257HIGH8.8
  • RustRust
  • salvo
NoYesJan 08, 2026
CVE-2026-22698HIGH8.7
  • RustRust
  • sm2
NoNoJan 10, 2026
CVE-2026-22699HIGH7.5
  • RustRust
  • sm2
NoNoJan 10, 2026
GHSA-g59m-gf8j-gjf5LOW3.7
  • RustRust
  • aws-sdk-neptunedata
NoYesJan 08, 2026
GHSA-585q-cm62-757jLOW2
  • RustRust
  • mnl
NoNoJan 09, 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