CVE-2024-28123
CRITICAL 9.8CVSS 3.1Wasmi Out-of-bounds Write for host to Wasm calls with more than 128 Parameters
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.
- Published
- 21 Mar 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-787
- Also known as
- GHSA-75jp-vq8x-h4cq
- Sources
- NVDJSONOSV GHSA-75jp-vq8x-h4cqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | wasmi-labs | wasmicpe:2.3:a:wasmi-labs:wasmi:*:*:*:*:*:rust:*:* |
>= 0.15.0, < 0.31.1 | 0.31.1 |
| OSV | crates.io | wasmi | >= 0.15.0, < 0.31.1 | 0.31.1 |
References
- https://github.com/wasmi-labs/wasmi/commit/f7b3200e9f3dc9e2cbca966cb255c228453c792f · Patch, WEB
- https://github.com/wasmi-labs/wasmi/releases/tag/v0.31.1 · Release Notes, WEB
- https://github.com/wasmi-labs/wasmi/security/advisories/GHSA-75jp-vq8x-h4cq · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-28123 · ADVISORY
- https://github.com/wasmi-labs/wasmi · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 21 Mar 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Mar 2024)