NetSight
high8.8

CVE-2025-61595

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

Impact

### 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?_

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/MANTRA-Chain/mantrachain/v4< 4.0.24.0.2
gogithub.com/MANTRA-Chain/mantrachain/v3< 4.0.2none recorded
gogithub.com/MANTRA-Chain/mantrachain/v2< 4.0.2none recorded
gogithub.com/MANTRA-Chain/mantrachain< 4.0.2none recorded

Weakness classification

References