CVE-2024-28123Wasmi-labs Wasmi
Critical 9.8 No auth needed
Follow: this CVE · Wasmi-labs · Wasmi-labs Wasmi We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 60
- Auth required
- No
- Published
- Mar 21, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Wasmi is an efficient and lightweight WebAssembly interpreter with a focus on constrained and embedded systems. In the WASMI Interpreter, an Out-of-bounds Buffer Write will arise if the host calls or resumes a Wasm function with more parameters than the default limit (128), as it will surpass the stack value. This doesn’t affect calls from Wasm to Wasm, only from host to Wasm. This vulnerability was patched in version 0.31.1.
What to do
- Apply the vendor's security update for Wasmi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | wasmi |
≥ 0.15.0 < 0.31.1 |
0.31.1 |
cargo update -p wasmi --precise 0.31.1 |
Per OSV / GitHub Advisories (GHSA-75jp-vq8x-h4cq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| wasmi-labs | wasmi | ≥ 0.15.0 < 0.31.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory