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

Published Jan 27, 2026
·
Updated

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 Software

1 affected component
Wasmtime Wasmtime>=29.0.0<36.0.5, >=40.0.0<40.0.3, >=41.0.0<41.0.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Wasmtime to a version that resolves this vulnerability.

    Fixed in 36.0.5
  2. Upgrade

    Upgrade Wasmtime to a version that resolves this vulnerability.

    Fixed in 40.0.3
  3. Upgrade

    Upgrade Wasmtime to a version that resolves this vulnerability.

    Fixed in 41.0.1
  4. Configuration

    Enable signals-based-traps as a workaround.

    Wasmtime signals-based-traps = enabled

Event History

Jan 27, 2026
CVE Published
via OSV·06:58 PM
Data Sourced
via OSV·06:58 PM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203