Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. wasmtime
  4. ›
  5. CVE-2026-24116

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

January 27, 2026 (updated January 29, 2026)

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.

References

  • docs.rs/wasmtime/latest/wasmtime/struct.Config.html
  • docs.rs/wasmtime/latest/wasmtime/struct.Config.html
  • docs.wasmtime.dev/stability-release.html
  • github.com/advisories/GHSA-vc8c-j3xm-xj73
  • github.com/bytecodealliance/wasmtime
  • github.com/bytecodealliance/wasmtime/commit/728fa07184f8da2a046f48ef9b61f869dce133a6
  • github.com/bytecodealliance/wasmtime/commit/799585fc362fcb991de147dd1a9f2ba0861ed440
  • github.com/bytecodealliance/wasmtime/commit/ac92d9bb729ad3a6d93f0724c4c33a0c4a9c0227
  • github.com/bytecodealliance/wasmtime/security/advisories/GHSA-vc8c-j3xm-xj73
  • nvd.nist.gov/vuln/detail/CVE-2026-24116
  • rustsec.org/advisories/RUSTSEC-2026-0006.html

Code Behaviors & Features

Detect and mitigate CVE-2026-24116 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 29.0.0 before 36.0.5, all versions starting from 37.0.0 before 40.0.3, all versions starting from 41.0.0 before 41.0.1, version 41.0.0

Fixed versions

  • 36.0.5
  • 40.0.3
  • 41.0.1

Solution

Upgrade to versions 36.0.5, 40.0.3, 41.0.1 or above.

Impact 5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

cargo/wasmtime/CVE-2026-24116.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:04 +0000.