Loading...
Skip to main content

CVE-2025-25500 — Vulnerability in cosmwasm — CVE Details

MEDIUM

CosmWasm Allows Bypass of Capability Restrictions in Blockchains

Published March 18, 2025Updated March 21, 2025Source: osv

Summary

An issue in CosmWasm prior to v2.2.0 allows attackers to bypass capability restrictions in blockchains by exploiting a lack of runtime capability validation. This allows attackers to deploy a contract without capability enforcement, and execute unauthorized actions on the blockchain.

Advisory Timeline

  • First published March 18, 2025 (573 days ago).
  • Last revised March 21, 2025 — 3 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update cosmwasm to 2.2.0 or later
cargo update -p cosmwasm --precise 2.2.0

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

Affected Packages (1)

Affects 1 ecosystem: crates.io (1).

PackageEcosystemAffectedFixed In
cosmwasm
crates.io
All versions2.2.0

Vulnerability Classification

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

CVSS Score Breakdown

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

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

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Frequently Asked Questions

What is CVE-2025-25500?
CosmWasm Allows Bypass of Capability Restrictions in Blockchains This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
How do I check if my project is affected by CVE-2025-25500?
CVE-2025-25500 affects cosmwasm. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-25500 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.5

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-cg8r-jwg7-r2x4

Related CVEs

  • CVE-2026-102821
    MEDIUM

    Russh: Unbounded memory exhaustion via CHANNEL_OPEN flood during a client-stalled rekey

  • CVE-2026-102820
    MEDIUM

    pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)

Check if you're affected

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

Scan Your Dependencies