Affected versions
Version ranges need review.
- Affected versions
- < 4.0.2
- Fixed version
- Not reported
- Affected versions
- *
- Fixed version
- Not reported
- Affected versions
- *
- Fixed version
- Not reported
- Affected versions
- < 4.0.2
- Fixed version
- Not reported
- Affected versions
- <4.0.2
- Fixed version
- 4.0.2
- Affected versions
- < 4.0.2
- Fixed version
- 4.0.2
- Affected versions
- < 4.0.2
- Fixed version
- Not reported
- Affected versions
- *
- Fixed version
- Not reported
Exploitation
Description
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?
Links
- https://github.com/MANTRA-Chain/mantrachain
- https://github.com/MANTRA-Chain/mantrachain/commit/30d36c46e9823b56b8f0dcbb66e980ca5df284e4
- https://github.com/MANTRA-Chain/mantrachain/issues/432
- https://github.com/MANTRA-Chain/mantrachain/security/advisories/GHSA-qwvm-wqq8-8j69
- https://github.com/advisories/GHSA-qwvm-wqq8-8j69
- https://nvd.nist.gov/vuln/detail/CVE-2025-61595
- https://pkg.go.dev/vuln/GO-2025-3997
Credits
- Hellobloc

