GHSA-79xg-q4qm-7v9w: CWA-2025-006: wasmd's improper error handling may lead to IBC channel opening despite error
CWA-2025-006: Improper error handling may lead to IBC channel opening despite error Severity High (Considerable + Likely)[^1] Affected versions: - wasmd 0.60.0 - wasmd = 0.51.0 . Timeline - 2025-03-03: Auditor informs Confio about this issue. - 2025-04-10: Confio developed the patch internally. - 2025-06-05: Upcoming patch is announced. - 2025-06-10: Patch is released.
Published Jun 11, 2025
Affected packages
github.com/CosmWasm/wasmd
- Ecosystem
- Go
- Affected
- = 0.60.0
- Fixed in
- 0.60.1
- Check
go list -m github.com/CosmWasm/wasmd
github.com/CosmWasm/wasmd
- Ecosystem
- Go
- Affected
- >= 0.55.0, < 0.55.1
- Fixed in
- 0.55.1
- Check
go list -m github.com/CosmWasm/wasmd
github.com/CosmWasm/wasmd
- Ecosystem
- Go
- Affected
- >= 0.54.0, < 0.54.1
- Fixed in
- 0.54.1
- Check
go list -m github.com/CosmWasm/wasmd
github.com/CosmWasm/wasmd
- Ecosystem
- Go
- Affected
- >= 0.51.0, < 0.53.3
- Fixed in
- 0.53.3
- Check
go list -m github.com/CosmWasm/wasmd
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
CWA-2025-006: Improper error handling may lead to IBC channel opening despite error
Severity
High (Considerable + Likely)[^1]
Affected versions:
- wasmd 0.60.0
- wasmd >= 0.51.0 < 0.55.1
Patched versions:
- wasmd 0.60.1, 0.55.1, 0.54.1, 0.53.3
Description of the bug
A contract erroring during IBC channel opening does not prevent the channel from opening.
Applying the patch
The patch will be shipped in a wasmd release. You will also have to update libwasmvm if you build statically. If you already use the latest / close to latest wasmd, you can update more or less as follows:
- Check the current wasmd version:
go list -m github.com/CosmWasm/wasmd - Bump the
github.com/CosmWasm/wasmddependency in your go.mod to 0.60.1 (Cosmos SDK 0.53 compatible), 0.55.1 (Cosmos SDK 0.50 compatible), 0.54.1 or 0.53.3;go mod tidy; commit. - If you use the static libraries
libwasmvm_muslc.aarch64.a/libwasmvm_muslc.x86_64.a, make sure that you use the same version as your wasmvm version. - Check the updated wasmd version:
go list -m github.com/CosmWasm/wasmdand ensure you see 0.60.1, 0.55.1, 0.54.1 or 0.53.3. - Follow your regular practices to deploy chain upgrades.
The patch is consensus breaking.
Acknowledgement
This problem was discovered during an audit of the CosmWasm stack performed by Sherlock and funded by ICF/ICL in Q1 2025. Thank you for that work!
If you believe you have found a bug in the Interchain Stack or would like to contribute to the program by reporting a bug, please see .
Timeline
- 2025-03-03: Auditor informs Confio about this issue.
- 2025-04-10: Confio developed the patch internally.
- 2025-06-05: Upcoming patch is announced.
- 2025-06-10: Patch is released.
[^1]: following Amulet's Severity Classification Framework ACMv1.2:
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesGHSA-vmg2-r3xv-r3xf
Simulation of Wasmd message can cause crashing
lowDec 10, 2024GHSA-fpgj-cr28-fvpx
CWA-2024-006: wasmd non-deterministic module_query_safe query
mediumAug 21, 2024GHSA-g8w7-7vgg-x7xg
CWA-2024-005: Stackoverflow in wasmd
high7.5Aug 21, 2024GHSA-m3rh-cvr5-x6q4
CosmWasm wasmd has large address count in ValidateBasic
medium3.7Aug 8, 2024
