CVE-2025-61595
vulnerability analysis and mitigation

Overview

MANTRA, a purpose-built RWA Layer 1 Blockchain, was found to have a critical vulnerability in versions 4.0.1 and below where the transaction gas limit was not properly enforced in its send hooks. The vulnerability was discovered and disclosed on September 30, 2025, and was assigned CVE-2025-61595. The issue affects the tokenfactory module in the MANTRA blockchain platform (GitHub Advisory).

Technical details

The vulnerability stems from a failure to enforce transaction gas limits within send hooks, which could allow these hooks to consume more gas than what remains in the transaction. When combined with recursive calls in the WASM contract, this could lead to exponential gas consumption. The vulnerability has been assigned a CVSS v4.0 score of 8.8 (HIGH) with the vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N. The issue has been classified under CWE-400 (Uncontrolled Resource Consumption) and CWE-770 (Allocation of Resources Without Limits or Throttling) (NVD).

Impact

The vulnerability could lead to excessive gas consumption in the blockchain network, potentially causing resource exhaustion and affecting the platform's availability. The high CVSS score indicates significant potential for system-wide impact, particularly in terms of availability (VA:H in the CVSS vector) (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 4.0.2 and version 5.0.x of the MANTRA blockchain. The fix involves implementing proper gas limit enforcement by calculating the minimum between the BeforeSendHookGasLimit and the remaining gas in the transaction (GitHub Commit).

Additional resources


SourceThis report was generated using AI

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