Register for the AI for Security Summit: Join Figma, Perplexity & Wiz
Vulnerability DatabaseGHSA-4v52-7q2x-v4xj

GHSA-4v52-7q2x-v4xj
Rust vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-4v52-7q2x-v4xj) affects the eyre Rust package versions 0.6.9 through 0.6.11, discovered and disclosed in April 2024. The issue involves incorrect type downcasting in the Report structure, which can lead to memory corruption and resource leaks. This high-severity vulnerability affects the core functionality of error handling in the eyre crate (GitHub Advisory).

Technical details

The vulnerability occurs when using Report::downcast after constructing a Report using wrap_err or wrap_err_with. Two scenarios can trigger the issue: 1) When downcasting to type E, a value of type D is incorrectly dropped using E's drop behavior, and 2) When downcasting to type D, the remaining value of type E is dropped at the wrong memory location. The vulnerability has a CVSS score of 7.5 (High) with attack vector: Network, attack complexity: Low, and privileges required: None (GitHub Advisory, RustSec).

Impact

The primary impacts include memory corruption when the Report contains an error with nontrivial drop behavior. In cases where the error has trivial drop behavior but contains types with nontrivial drop behavior (such as String), the vulnerability can result in memory leaks. This affects the reliability and security of applications using the affected versions of the eyre crate (RustSec).

Exploitability

The vulnerability can be triggered through normal usage of the Report::downcast functionality, particularly when working with error types that have different sizes or drop behaviors. The issue was first identified through test cases that resulted in segmentation faults and memory errors (GitHub Issue).

Mitigation and workarounds

The vulnerability has been patched in version 0.6.12 of the eyre crate. Users are strongly advised to upgrade to this version or later. Versions prior to 0.6.9 are not affected by this vulnerability (GitHub 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-68537HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
CVE-2026-68523HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
RUSTSEC-2026-0289NONEN/A
  • Rust logoRust
  • pqc_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0287NONEN/A
  • Rust logoRust
  • cosmian_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0286NONEN/A
  • Rust logoRust
  • cryptoki
NoYesSep 16, 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