Skip to content

tx gas limit is not enforced in send hooks

High
yihuang published GHSA-qwvm-wqq8-8j69 Sep 30, 2025

Package

gomod github.com/MANTRA-Chain/mantrachain/x/tokenfactory (Go)

Affected versions

< 4.0.1

Patched versions

v4.0.2, v5.0.x
gomod github.com/neutron-org/neutron/x/tokenfactory (Go)
< 8.0.0
None

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?

References

#432

Severity

High

CVE ID

CVE-2025-61595

Weaknesses

No CWEs

Credits