Vulnerability DatabaseGHSA-2pgj-5cv2-6xxw

GHSA-2pgj-5cv2-6xxw
Rust vulnerability analysis and mitigation

Overview

A high-severity memory safety vulnerability (GHSA-2pgj-5cv2-6xxw) was discovered in the Fuel Virtual Machine (FuelVM) affecting versions < 0.60.1 and < 0.59.3. The vulnerability was disclosed on October 7, 2025, and allowed memory reads to bypass expected access controls when performing memory operations on deallocated memory regions (GitHub Advisory).

Technical details

The vulnerability occurs when a smart contract performs memory operations (like mload) on memory that had been deallocated using ret instruction. Due to improper memory management, the contract could still access old memory contents because the memory region was not zeroed out or marked as invalid after deallocation. This represents a Use-After-Free (CWE-416) vulnerability with a CVSS v4 base score of 8.7 (High) (GitHub Advisory).

Impact

The vulnerability enables smart contracts to potentially read sensitive data left over from other contracts if the same memory was reallocated, violating isolation guarantees between contracts and enabling unintended data leakage. All users running affected versions of FuelVM that relied on strict memory isolation between smart contracts were impacted (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in FuelVM versions 0.60.1 and 0.59.3, released on April 18th, 2025. The fix ensures that memory deallocated with ret is properly zeroed out or made inaccessible. No reliable workarounds existed prior to the patch, as manual zeroing of sensitive memory regions was error-prone and could not be enforced at the VM level. Users are strongly recommended to upgrade to the patched versions (GitHub Advisory, FuelVM PR).

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-2pgj-5cv2-6xxwHIGH8.7
  • RustRust
  • fuel-vm
NoYesOct 08, 2025
CVE-2025-61787HIGH8.1
  • RustRust
  • deno
NoYesOct 08, 2025
CVE-2025-62162HIGH7.5
  • RustRust
  • cel
NoYesOct 10, 2025
CVE-2025-61786LOW3.3
  • RustRust
  • deno
NoYesOct 08, 2025
CVE-2025-61785LOW3.3
  • RustRust
  • deno
NoYesOct 08, 2025

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