Advisory

GHSA-qwvm-wqq8-8j69

Also known as: CVE-2025-61595, GO-2025-3997

Summary

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

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-09-30 21:06 UTC
Modified
2025-10-23 20:34 UTC

Affected packages and fixes

github.com/MANTRA-Chain/mantrachain/v4

Go · All systems

Affected

  • introduced 0, fixed 4.0.2 (semver)

Fixed versions

4.0.2

Fix

github.com/MANTRA-Chain/mantrachain/v3

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/MANTRA-Chain/mantrachain/v2

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/MANTRA-Chain/mantrachain

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences