Skip to content
Heist/ feed
Back to feed
High

MANTRA tx gas limit is not enforced in send hooks

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-61595
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:34 UTC · Revision 1

Source evidence

MANTRA tx gas limit is not enforced in send hooks

core-osv · Original source

Published 2 Oct 2025, 19:36 UTC

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.

osv:CVE-2025-61595
Complete source record
{
  "id": "67983f5f09fbc18840cbf7f91faec025f0e4e977d5ddadd7c3643c7633cf3234",
  "url": "https://osv.dev/vulnerability/CVE-2025-61595",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MANTRA tx gas limit is not enforced in send hooks",
    "summary": "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.",
    "evidence": "osv:CVE-2025-61595",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-61595",
      "aliases": [
        "CVE-2025-61595",
        "GHSA-qwvm-wqq8-8j69",
        "GO-2025-3997"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mantra-chain/mantrachain",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1491567db4bd425b02dab8097f571c2993317017"
                },
                {
                  "fixed": "30d36c46e9823b56b8f0dcbb66e980ca5df284e4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.0.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "30d36c46e9823b56b8f0dcbb66e980ca5df284e4"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.0.1",
            "v4.0.0",
            "v4.0.0-rc2",
            "v4.0.0-rc1",
            "v3.0.0",
            "v2.0.0",
            "v1.0.0-rc3",
            "v1.0.0-rc2",
            "v1.0.0-rc1",
            "v1.0.0-alpha.10",
            "v1.0.0-alpha.9",
            "v1.0.0-alpha.8",
            "v1.0.0-alpha.7",
            "v1.0.0-alpha.6",
            "v1.0.0-alpha.5",
            "v1.0.0-alpha.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-61595.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.528606419Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61595.json",
        "https://github.com/MANTRA-Chain/mantrachain/security/advisories/GHSA-qwvm-wqq8-8j69",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-61595",
        "https://github.com/MANTRA-Chain/mantrachain/commit/30d36c46e9823b56b8f0dcbb66e980ca5df284e4"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400",
          "CWE-770"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61595.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-61595",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504736,
  "published_at": "2025-10-02T19:36:41.428+00:00"
}