CVE-2025-66627Wasmi-labs Wasmi
High 7.8
Follow: this CVE · Wasmi-labs · Wasmi-labs Wasmi We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- —
- Auth required
- Yes
- Published
- Dec 9, 2025
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-416
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
Wasmi is a WebAssembly interpreter focused on constrained and embedded systems. In versions 0.41.0, 0.41.1, 0.42.0 through 0.47.1, 0.50.0 through 0.51.2 and 1.0.0, Wasmi's linear memory implementation leads to a Use After Free vulnerability, triggered by a WebAssembly module under certain memory growth conditions. This issue potentially leads to memory corruption, information disclosure, or code execution. This issue is fixed in versions 0.41.2, 0.47.1, 0.51.3 and 1.0.1. To workaround this issue, consider limiting the maximum linear memory sizes where feasible.
What to do
- Apply the vendor's security update for Wasmi.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | wasmi |
≥ 0.41.0 < 0.41.2 |
0.41.2 |
cargo update -p wasmi --precise 0.41.2 |
| crates.io | wasmi |
≥ 0.42.0 < 0.47.1 |
0.47.1 |
cargo update -p wasmi --precise 0.47.1 |
| crates.io | wasmi |
≥ 0.50.0 < 0.51.3 |
0.51.3 |
cargo update -p wasmi --precise 0.51.3 |
| crates.io | wasmi |
≥ 1.0.0 < 1.0.1 |
1.0.1 |
cargo update -p wasmi --precise 1.0.1 |
Per OSV / GitHub Advisories (GHSA-g4v2-cjqp-rfmq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| wasmi-labs | wasmi | ≥ 0.41.0 < 0.41.2 |
| wasmi-labs | wasmi | ≥ 0.47.0 < 0.47.1 |
| wasmi-labs | wasmi | ≥ 0.51.0 < 0.51.3 |
| wasmi-labs | wasmi | 1.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Vendor Advisory