Skip to main content
← All vulnerabilities
CVE-2026-24116GHSA-VC8C-J3XM-XJ73RUSTSEC-2026-0006

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 36.0.5, 40.0.3, 41.0.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • bytecodealliance wasmtime

    From 29.0.0 · fixed in 36.0.5; From 37.0.0 · fixed in 40.0.3

  • wasmtimecrates.io

    From 29.0.0 · fixed in 36.0.5

  • wasmtimecrates.io

    From 37.0.0 · fixed in 40.0.3

  • wasmtimecrates.io

    From 41.0.0 · fixed in 41.0.1

  • wasmtimecrates.io

    From 29.0.0 · fixed in 36.0.5; From 37.0.0 · fixed in 40.0.3; From 41.0.0 · fixed in 41.0.1

References 8

GitHub · bytecodealliance/wasmtime

docs.rs

docs.wasmtime.dev

rustsec.org