Vulnerability · Published Jan 27, 2026 · Assigned by GitHub_M

CVE-2026-24116Wasmtime segfault or unused out-of-sandbox load with f64.copysign operator on x86-64

Medium 4.1

In plain English

A medium-severity out-of-bounds read in wasmtime from bytecodealliance. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)4.1Medium
Exploit odds (30 days)0.2%top 84.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:14rust-wasmtime36.0.5+dfsg-1DEBIAN-CVE-2026-24116
Ubuntu:24.04:LTSrust-wasmtimeno fix listedUBUNTU-CVE-2026-24116
Ubuntu:25.10rust-wasmtimeno fix listedUBUNTU-CVE-2026-24116
Ubuntu:26.04:LTSrust-wasmtimeno fix listedUBUNTU-CVE-2026-24116
Ubuntu:26.10rust-wasmtimeno fix listedUBUNTU-CVE-2026-24116

Affected products (as reported)

VendorProductVersions
bytecodealliance wasmtime >= 29.0.0, < 36.0.5>= 37.0.0, < 40.0.3= 41.0.0

Weakness: CWE-125 · 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

References