CVE-2026-24116 Details
Description
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.
A vulnerability exists in Wasmtime versions 29.0.0 prior to 36.0.5, 40.0.3, and 41.0.1, on x86-64 platforms with AVX. The issue arises in the compilation of the 'f64.copysign' WebAssembly instruction using Cranelift, where an incorrect load width can lead to out-of-bounds memory access. This miscompilation can cause a segmentation fault by reading from unmapped guard pages, or potentially expose out-of-sandbox data to WebAssembly guests if guard pages are disabled. The vulnerability is linked to how the 'copysign' operator is lowered, allowing for improper memory access that can crash the process or disrupt the WebAssembly sandboxing.
Users should upgrade to Wasmtime versions 36.0.5, 40.0.3, or 41.0.1, which have been patched to fix this vulnerability. Instructions for updating can be found in the Wasmtime release notes.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| bytecodealliance wasmtime | >= 29.0.0, < 36.0.5 >= 40.0.0, < 40.0.3 >= 41.0.0, < 41.0.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 12, 2026 | Initial Analysis | [email protected] |
| Jan 27, 2026 | New CVE Received | [email protected] |