CVE-2026-24116 Wasmtime segfault or unused out-of-sandbox load with f64.copysign operator on x86-64
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed 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
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-vc8c-j3xm-xj73 patch vendor-advisory
- https://github.com/bytecodealliance/wasmtime/commit/728fa07184f8da2a046f48ef9b61f869dce133a6 patch
- https://github.com/bytecodealliance/wasmtime/commit/799585fc362fcb991de147dd1a9f2ba0861ed440 patch
- https://github.com/bytecodealliance/wasmtime/commit/ac92d9bb729ad3a6d93f0724c4c33a0c4a9c0227 patch
- https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.memory_guard_size product
- https://docs.wasmtime.dev/stability-release.html release-notes
- https://rustsec.org/advisories/RUSTSEC-2026-0006.html third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- crates.io product
- github.com
- Debian Security Tracker CVE-2026-24116 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking