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

- Severity: Medium 4.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-01-26T12:00:00.000Z
- Modified: 2026-10-12T18:00:13.559Z
- Also known as: GHSA-vc8c-j3xm-xj73, RUSTSEC-2026-0006
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- bytecodealliance wasmtime: >= 29.0.0, < 36.0.5; >= 37.0.0, < 40.0.3; = 41.0.0; from 29.0.0 before 36.0.5; from 40.0.0 before 40.0.3; from 41.0.0 before 41.0.1
- wasmtime (crates.io): from 29.0.0 before 36.0.5; from 37.0.0 before 40.0.3; from 41.0.0 before 41.0.1

## Every score

- GitHub_M: CVSS:4.0 4.1 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- RustSec Advisory Database: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-vc8c-j3xm-xj73> (patch, vendor-advisory, web)
- <https://github.com/bytecodealliance/wasmtime/commit/728fa07184f8da2a046f48ef9b61f869dce133a6> (patch, web)
- <https://github.com/bytecodealliance/wasmtime/commit/799585fc362fcb991de147dd1a9f2ba0861ed440> (patch, web)
- <https://github.com/bytecodealliance/wasmtime/commit/ac92d9bb729ad3a6d93f0724c4c33a0c4a9c0227> (patch, web)
- <https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.memory_guard_size> (product, web)
- <https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.signals_based_traps> (product, web)
- <https://docs.wasmtime.dev/stability-release.html> (release-notes, web)
- <https://rustsec.org/advisories/RUSTSEC-2026-0006.html> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24116> (advisory)
- <https://github.com/bytecodealliance/wasmtime> (package)
- <https://crates.io/crates/wasmtime> (package)

## Sources

- CVE List: [CVE-2026-24116](https://www.cve.org/CVERecord?id=CVE-2026-24116), CVE Terms of Use, modified 2026-01-27
- GitHub Advisory Database: [GHSA-vc8c-j3xm-xj73](https://github.com/advisories/GHSA-vc8c-j3xm-xj73), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2026-0006](https://rustsec.org/advisories/RUSTSEC-2026-0006.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2026-24116](https://nvd.nist.gov/vuln/detail/CVE-2026-24116), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-24116 · Whole record: https://cve.day/CVE-2026-24116.json · Rebuilt by cve.day 2026-11-25T22:59:13.238Z
