CVE-2025-61595
HIGH 8.8CVSS 4.0github.com/MANTRA-Chain/mantrachain/x/tokenfactory tx gas limit is not enforced in send hooks
MANTRA is a purpose-built RWA Layer 1 Blockchain, capable of adherence to real world regulatory requirements. Versions 4.0.1 and below do not enforce the tx gas limit in its send hooks. Send hooks can spend more gas than what remains in tx, combined with recursive calls in the wasm contract, potentially amplifying the gas consumption exponentially. This is fixed in version 4.0.2.
- Published
- 2 Oct 2025
- Last modified
- 12 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-qwvm-wqq8-8j69GO-2025-3997
- Sources
- NVDJSONOSV GHSA-qwvm-wqq8-8j69JSONOSV GO-2025-3997JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.8 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/MANTRA-Chain/mantrachain/v4 | < 4.0.2 | 4.0.2 |
| OSV | Go | github.com/MANTRA-Chain/mantrachain/v3 | all versions | |
| OSV | Go | github.com/MANTRA-Chain/mantrachain/v2 | all versions | |
| OSV | Go | github.com/MANTRA-Chain/mantrachain | all versions |
References
- https://github.com/MANTRA-Chain/mantrachain/commit/30d36c46e9823b56b8f0dcbb66e980ca5df284e4 · WEB, FIX
- https://github.com/MANTRA-Chain/mantrachain/security/advisories/GHSA-qwvm-wqq8-8j69 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-61595 · ADVISORY
- https://github.com/MANTRA-Chain/mantrachain/issues/432 · WEB, REPORT
- https://github.com/MANTRA-Chain/mantrachain · PACKAGE
- https://pkg.go.dev/vuln/GO-2025-3997 · WEB
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 2 Oct 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Oct 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Sep 2025)