Skip to content

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

MediumCVSS 4.1 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

6 packages: 3 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/rust-wasmtime(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/rust-wasmtime(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/rust-wasmtime(Ubuntu 26.10) All versions No fix listed No fix yet
bytecodealliance wasmtime = = 41.0.0; = >= 29.0.0, < 36.0.5; = >= 37.0.0, < 40.0.3; >= 29.0.0, < 36.0.5 +2 more 36.0.5, 40.0.3, 41.0.1 Fixed
crates.io wasmtime(crates.io) = 41.0.0; >= 29.0.0, < 36.0.5; >= 37.0.0, < 40.0.3; >= 41.0.0, < 41.0.1 36.0.5, 40.0.3, 41.0.1 Fixed
debian/rust-wasmtime(Debian 14) < 36.0.5+dfsg-1; = 26.0.1+dfsg-3; = 26.0.1+dfsg-4; = 26.0.1+dfsg-5 +19 more 36.0.5+dfsg-1 Fixed

Affected products

ProductAffected versionsFixed in
bytecodealliance wasmtime = >= 29.0.0, < 36.0.5 No fix listed
bytecodealliance wasmtime = >= 37.0.0, < 40.0.3 No fix listed
bytecodealliance wasmtime = = 41.0.0 No fix listed
crates.io wasmtime(crates.io) >= 29.0.0, < 36.0.5 36.0.5
crates.io wasmtime(crates.io) >= 37.0.0, < 40.0.3 40.0.3
crates.io wasmtime(crates.io) >= 41.0.0, < 41.0.1 41.0.1
crates.io wasmtime(crates.io) = 41.0.0 No fix listed
debian/rust-wasmtime(Debian:14) < 36.0.5+dfsg-1 36.0.5+dfsg-1
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-10 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-4 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-5 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-6 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-7 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-8 No fix listed
debian/rust-wasmtime(Debian:14) = 26.0.1+dfsg-9 No fix listed
debian/rust-wasmtime(Debian:14) = 27.0.0+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:14) = 27.0.0+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:14) = 27.0.0+dfsg-4 No fix listed
debian/rust-wasmtime(Debian:14) = 28.0.1+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:14) = 28.0.1+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:14) = 28.0.1+dfsg-3 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-1 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-2 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-3 No fix listed
Show 11 more
ProductAffected versionsFixed in
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-4 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-5 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-6 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-7 No fix listed
debian/rust-wasmtime(Debian:14) = 29.0.1+dfsg-8 No fix listed
ubuntu/rust-wasmtime(Ubuntu:24.04) All versions No fix listed
ubuntu/rust-wasmtime(Ubuntu:26.04) All versions No fix listed
ubuntu/rust-wasmtime(Ubuntu:26.10) All versions No fix listed
bytecodealliance wasmtime >= 29.0.0, < 36.0.5 36.0.5
bytecodealliance wasmtime >= 40.0.0, < 40.0.3 40.0.3
bytecodealliance wasmtime >= 41.0.0, < 41.0.1 41.0.1

References