{"answers":{"affected":"12 open source packages ship an affected version, including github.com/MANTRA-Chain/mantrachain, github.com/MANTRA-Chain/mantrachain/v2 and github.com/MANTRA-Chain/mantrachain/v3.","exploited":"There is no known exploitation of CVE-2025-61595 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-61595 is a high-severity denial of service vulnerability in MANTRA-Chain mantrachain, published on 2 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-61595 and fix it if it is affected.\n\nWhat it is: CVE-2025-61595 is a high-severity denial of service vulnerability in MANTRA-Chain mantrachain, published on 2 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-61595 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/MANTRA-Chain/mantrachain (Go): affected all versions; no fix listed\n- github.com/MANTRA-Chain/mantrachain (Go): affected all versions; no fix listed\n- github.com/MANTRA-Chain/mantrachain (Go): affected all versions; no fix listed\n- github.com/MANTRA-Chain/mantrachain/v2 (Go): affected all versions; no fix listed\n- github.com/MANTRA-Chain/mantrachain/v2 (Go): affected all versions; no fix listed\n- github.com/MANTRA-Chain/mantrachain/v2 (Go): affected all versions; no fix listed\n- github.com/MANTRA-Chain/mantrachain/v3 (Go): affected all versions; no fix listed\n- github.com/MANTRA-Chain/mantrachain/v3 (Go): affected all versions; no fix listed\n- github.com/MANTRA-Chain/mantrachain/v3 (Go): affected all versions; no fix listed\n- github.com/MANTRA-Chain/mantrachain/v4 (Go): affected all versions; fixed in 4.0.2\n- github.com/MANTRA-Chain/mantrachain/v4 (Go): affected all versions; fixed in 4.0.2\n- github.com/MANTRA-Chain/mantrachain/v4 (Go): affected all versions; fixed in 4.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-61595/ (Markdown: https://insights.sbomify.com/CVE-2025-61595/index.md)","id":"CVE-2025-61595","markdown":"https://insights.sbomify.com/CVE-2025-61595/index.md","name":"CVE-2025-61595","record":{"aliases":["GHSA-qwvm-wqq8-8j69","GO-2025-3997"],"analysis":{"component_type":"other","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"RWA Layer 1 Blockchain","requires_auth":"none","summary":"Attackers can cause denial of service by exploiting unenforced gas limits in send hooks, leading to exponential gas consumption via recursive calls.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"MANTRA tx gas limit is not enforced in send hooks","id":"CVE-2025-61595","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":12,"n_references":2,"next":{"headline":"This is a fork and is not in the Rust registry.","id":"CVE-2025-61596"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/MANTRA-Chain/mantrachain","purl":null,"source":"GHSA-qwvm-wqq8-8j69"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/MANTRA-Chain/mantrachain","purl":"pkg:golang/github.com/MANTRA-Chain/mantrachain","source":"GHSA-qwvm-wqq8-8j69"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/MANTRA-Chain/mantrachain","purl":"pkg:golang/github.com/MANTRA-Chain/mantrachain","source":"GO-2025-3997"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/MANTRA-Chain/mantrachain/v2","purl":null,"source":"GHSA-qwvm-wqq8-8j69"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/MANTRA-Chain/mantrachain/v2","purl":"pkg:golang/github.com/MANTRA-Chain/mantrachain/v2","source":"GHSA-qwvm-wqq8-8j69"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/MANTRA-Chain/mantrachain/v2","purl":"pkg:golang/github.com/MANTRA-Chain/mantrachain/v2","source":"GO-2025-3997"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/MANTRA-Chain/mantrachain/v3","purl":null,"source":"GHSA-qwvm-wqq8-8j69"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/MANTRA-Chain/mantrachain/v3","purl":"pkg:golang/github.com/MANTRA-Chain/mantrachain/v3","source":"GHSA-qwvm-wqq8-8j69"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/MANTRA-Chain/mantrachain/v3","purl":"pkg:golang/github.com/MANTRA-Chain/mantrachain/v3","source":"GO-2025-3997"},{"ecosystem":"Go","fixed":["4.0.2"],"introduced":["0"],"last_affected":[],"package":"github.com/MANTRA-Chain/mantrachain/v4","purl":null,"source":"GHSA-qwvm-wqq8-8j69"},{"ecosystem":"Go","fixed":["4.0.2"],"introduced":["0"],"last_affected":[],"package":"github.com/MANTRA-Chain/mantrachain/v4","purl":"pkg:golang/github.com/MANTRA-Chain/mantrachain/v4","source":"GHSA-qwvm-wqq8-8j69"},{"ecosystem":"Go","fixed":["4.0.2"],"introduced":["0"],"last_affected":[],"package":"github.com/MANTRA-Chain/mantrachain/v4","purl":"pkg:golang/github.com/MANTRA-Chain/mantrachain/v4","source":"GO-2025-3997"}],"prev":{"headline":"URI Credential Leakage Bypass over CVE-2025-27221","id":"CVE-2025-61594"},"products":["mantrachain"],"published":"2025-10-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-02","vendors":["MANTRA-Chain"]},"summary":"Attackers can cause denial of service by exploiting unenforced gas limits in send hooks, leading to exponential gas consumption via recursive calls.","url":"https://insights.sbomify.com/CVE-2025-61595/"}