NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2025-61595: github.com/MANTRA-Chain/mantrachain/x/tokenfactory tx gas limit is not enforced in send hooks

highCVSS 4.0 8.8GHSA-qwvm-wqq8-8j69

Impact send hooks can spend more gas than what's remained in tx, combined with recursive calls in the wasm contract, can amplify the gas consumption exponentially. Patches It's patched in v4.0.2 and v5.0.0 Workarounds Is there a way for users to fix or remediate the vulnerability without upgrading?

Published Sep 30, 2025 · Updated Oct 23, 2025

Affected packages

github.com/MANTRA-Chain/mantrachain/v4

Ecosystem
Go
Affected
< 4.0.2
Fixed in
4.0.2
Check
go list -m github.com/MANTRA-Chain/mantrachain/v4

github.com/MANTRA-Chain/mantrachain/v3

Ecosystem
Go
Affected
< 4.0.2
Fixed in
No patched version yet
Check
go list -m github.com/MANTRA-Chain/mantrachain/v3

github.com/MANTRA-Chain/mantrachain/v2

Ecosystem
Go
Affected
< 4.0.2
Fixed in
No patched version yet
Check
go list -m github.com/MANTRA-Chain/mantrachain/v2

github.com/MANTRA-Chain/mantrachain

Ecosystem
Go
Affected
< 4.0.2
Fixed in
No patched version yet
Check
go list -m github.com/MANTRA-Chain/mantrachain

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

send hooks can spend more gas than what's remained in tx, combined with recursive calls in the wasm contract, can amplify the gas consumption exponentially.

Patches

It's patched in v4.0.2 and v5.0.0

Workarounds

_Is there a way for users to fix or remediate the vulnerability without upgrading?_

Credited to Hellobloc.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology