{"id":"CVE-2026-24116","published":"2026-01-27T18:58:52Z","modified":"2026-01-27T19:23:09Z","title":"Wasmtime segfault or unused out-of-sandbox load with f64.copysign operator on x86-64","vendor":"bytecodealliance","product":"wasmtime","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.1,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00278,"percentile":0.12917,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-vc8c-j3xm-xj73","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bytecodealliance/wasmtime/commit/728fa07184f8da2a046f48ef9b61f869dce133a6","tags":["x_refsource_MISC"]},{"url":"https://github.com/bytecodealliance/wasmtime/commit/799585fc362fcb991de147dd1a9f2ba0861ed440","tags":["x_refsource_MISC"]},{"url":"https://github.com/bytecodealliance/wasmtime/commit/ac92d9bb729ad3a6d93f0724c4c33a0c4a9c0227","tags":["x_refsource_MISC"]},{"url":"https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.memory_guard_size","tags":["x_refsource_MISC"]},{"url":"https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.signals_based_traps","tags":["x_refsource_MISC"]},{"url":"https://docs.wasmtime.dev/stability-release.html","tags":["x_refsource_MISC"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0006.html","tags":["x_refsource_MISC"]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":2.58},{"name":"CVSS severity","points":2.87}]},"vendorSlug":"bytecodealliance","affectedVersions":[{"vendor":"bytecodealliance","product":"wasmtime","versions":[">= 29.0.0, < 36.0.5",">= 37.0.0, < 40.0.3","= 41.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-27T19:22:29.285417Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"wasmtime","vulnerableRanges":[">=29.0.0, <36.0.5",">=37.0.0, <40.0.3",">=41.0.0, <41.0.1"],"patched":["36.0.5","40.0.3","41.0.1"],"from":["GHSA-vc8c-j3xm-xj73","RUSTSEC-2026-0006"],"provenance":"source"}],"summary":{"text":"In Wasmtime (bytecodealliance/wasmtime), the x86-64 AVX code that Cranelift generates for the f64.copysign WebAssembly instruction is flawed: it can read 8 bytes more than needed, an out-of-bounds read. An attacker able to run WebAssembly on an affected Wasmtime build, with local access and some user interaction or configuration that disables signals-based traps or guard pages, can trigger an uncaught segfault from reads of unmapped guard pages or, with guard pages disabled, read out-of-sandbox memory that is not visible to guest code unless a separate Cranelift bug exists.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:10Z"},"euvd":{"id":"EUVD-2026-4773","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-bytecodealliance-wasmtime-cve-2023-41880","parents":[{"from":"CVE-2023-41880","to":"CVE-2026-24116","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cranelift/codegen/src/isa/x64/lower.isle"],"commits":["https://github.com/bytecodealliance/wasmtime/commit/8d7eda15b0badcbea83a7aac2d08f80788b59240","https://github.com/bytecodealliance/wasmtime/commit/728fa07184f8da2a046f48ef9b61f869dce133a6","https://github.com/bytecodealliance/wasmtime/commit/799585fc362fcb991de147dd1a9f2ba0861ed440"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-53901","published":"2025-07-18","fixed":"34.0.2","kev":false},{"cve":"CVE-2025-62711","published":"2025-10-24","fixed":"38.0.3","kev":false},{"cve":"CVE-2025-64345","published":"2025-11-12","fixed":"38.0.4","kev":false,"link":{"from":"CVE-2025-64345","to":"CVE-2026-24116","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:wasmtime","fromFixed":"36.0.3","toFixed":"36.0.5","daysApart":76}]}},{"cve":"CVE-2026-24116","published":"2026-01-27","fixed":"41.0.1","kev":false},{"cve":"CVE-2026-27195","published":"2026-02-24","fixed":"41.0.4","kev":false,"link":{"from":"CVE-2026-24116","to":"CVE-2026-27195","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:wasmtime","fromFixed":"40.0.3","toFixed":"40.0.4","daysApart":28},{"kind":"version-step","provenance":"source","package":"crates.io:wasmtime","fromFixed":"41.0.1","toFixed":"41.0.4","daysApart":28}]}},{"cve":"CVE-2026-27204","published":"2026-02-24","fixed":"41.0.4","kev":false,"link":{"from":"CVE-2026-24116","to":"CVE-2026-27204","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:wasmtime","fromFixed":"36.0.5","toFixed":"36.0.6","daysApart":28},{"kind":"version-step","provenance":"source","package":"crates.io:wasmtime","fromFixed":"40.0.3","toFixed":"40.0.4","daysApart":28}]}},{"cve":"CVE-2026-27572","published":"2026-02-24","fixed":"41.0.4","kev":false,"link":{"from":"CVE-2026-24116","to":"CVE-2026-27572","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:wasmtime","fromFixed":"36.0.5","toFixed":"36.0.6","daysApart":28},{"kind":"version-step","provenance":"source","package":"crates.io:wasmtime","fromFixed":"40.0.3","toFixed":"40.0.4","daysApart":28}]}}],"package":"crates.io:wasmtime"}}