Loading...
Skip to main content

CVE-2025-61595 — Vulnerability in...

HIGH

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

Published September 30, 2025Updated October 23, 2025Source: osv

Summary

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

Advisory Timeline

  • First published September 30, 2025 (377 days ago).
  • Last revised October 23, 2025 — 23 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/MANTRA-Chain/mantrachain/v4 to 4.0.2 or later
go get github.com/MANTRA-Chain/mantrachain/v4@v4.0.2

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: go (4).

PackageEcosystemAffectedFixed In
github.com/MANTRA-Chain/mantrachain/v3
go
All versionsRange-based data available
github.com/MANTRA-Chain/mantrachain/v2
go
All versionsRange-based data available
github.com/MANTRA-Chain/mantrachain
go
All versionsRange-based data available
github.com/MANTRA-Chain/mantrachain/v4
go
All versions4.0.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-400
    Uncontrolled Resource ConsumptionMITRE
  • CWE-770
    Allocation of Resources Without LimitsMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.2 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2025-61595?
github.com/MANTRA-Chain/mantrachain/x/tokenfactory tx gas limit is not enforced in send hooks This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.2/10).
How do I check if my project is affected by CVE-2025-61595?
CVE-2025-61595 affects github.com/MANTRA-Chain/mantrachain/v3, github.com/MANTRA-Chain/mantrachain/v2 and github.com/MANTRA-Chain/mantrachain (and 1 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-61595 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.2

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-qwvm-wqq8-8j69
GO-2025-3997

Related CVEs

  • CVE-2026-107809
    HIGH

    Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs

  • CVE-2026-107813
    HIGH

    Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies