CVE-2026-24116Bytecodealliance Wasmtime
Medium 4.1
Follow: this CVE · Bytecodealliance · Bytecodealliance Wasmtime We alert you by email or Slack (account required).
- Priority
- 25
- CVSS 4.0
- 4.1
- EPSS
- —
- Auth required
- Yes
- Published
- Jan 27, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Wasmtime is a runtime for WebAssembly. Starting in version 29.0.0 and prior to version 36.0.5, 40.0.3, and 41.0.1, on x86-64 platforms with AVX, Wasmtime's compilation of the `f64.copysign` WebAssembly instruction with Cranelift may load 8 more bytes than is necessary. When signals-based-traps are disabled this can result in a uncaught segfault due to loading from unmapped guard pages. With guard pages disabled it's possible for out-of-sandbox data to be loaded, but unless there is another bug in Cranelift this data is not visible to WebAssembly guests. Wasmtime 36.0.5, 40.0.3, and 41.0.1 have been released to fix this issue. Users are recommended to upgrade to the patched versions of Wasmtime. Other affected versions are not patched and users should updated to supported major version instead. This bug can be worked around by enabling signals-based-traps. While disabling guard pages can be a quick fix in some situations, it's not recommended to disabled guard pages as it is a key defense-in-depth measure of Wasmtime.
What to do
- Apply the vendor's security update for Wasmtime.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | wasmtime |
≥ 29.0.0 < 36.0.5 |
36.0.5 |
cargo update -p wasmtime --precise 36.0.5 |
| crates.io | wasmtime |
≥ 37.0.0 < 40.0.3 |
40.0.3 |
cargo update -p wasmtime --precise 40.0.3 |
| crates.io | wasmtime |
≥ 41.0.0 < 41.0.1 |
41.0.1 |
cargo update -p wasmtime --precise 41.0.1 |
| crates.io | wasmtime |
≥ 29.0.0 < 36.0.5 |
36.0.5 |
cargo update -p wasmtime --precise 36.0.5 |
| crates.io | wasmtime |
≥ 37.0.0 < 40.0.3 |
40.0.3 |
cargo update -p wasmtime --precise 40.0.3 |
| crates.io | wasmtime |
≥ 41.0.0 < 41.0.1 |
41.0.1 |
cargo update -p wasmtime --precise 41.0.1 |
Per OSV / GitHub Advisories (GHSA-vc8c-j3xm-xj73, RUSTSEC-2026-0006). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bytecodealliance | wasmtime | ≥ 29.0.0 < 36.0.5 |
| bytecodealliance | wasmtime | ≥ 40.0.0 < 40.0.3 |
| bytecodealliance | wasmtime | ≥ 41.0.0 < 41.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- docs.rs Product
- docs.rs Product
- docs.wasmtime.dev Release Notes
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Patch Vendor Advisory
- rustsec.org Third Party Advisory