CVE-2026-24116
Wasmtime segfault or unused out-of-sandbox load with f64.copysign operator on x86-64
Check your servers for CVE-2026-24116
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-24116 affects wasmtime, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
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
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- active: a user has to take a deliberate step, such as installing or running something
- Impact on the vulnerable system
- confidentiality none, integrity none, availability high: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 27 Jan 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-125 Out-of-bounds Read
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| wasmtime |
affected >= 29.0.0, < 36.0.5 affected >= 37.0.0, < 40.0.3 affected = 41.0.0
|
Is my server affected?
Find the installed version of wasmtime and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i wasmtime
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-24116 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-24116RHEL, Rocky, Alma, Fedora
rpm -q wasmtime
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-24116Alpine
apk list --installed | grep -i wasmtimeWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-24116
trivy image --scanners vuln IMAGE | grep CVE-2026-24116
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/bytecodealliance/wasmtime/commit/728fa07184f8da2a046f48ef9b61f869dce133a6 github.com
- https://github.com/bytecodealliance/wasmtime/commit/799585fc362fcb991de147dd1a9f2ba0861ed440 github.com
- https://github.com/bytecodealliance/wasmtime/commit/ac92d9bb729ad3a6d93f0724c4c33a0c4a9c0227 github.com
- https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.memory_guard_size docs.rs
- https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.signals_based_traps docs.rs
- https://docs.wasmtime.dev/stability-release.html docs.wasmtime.dev
- https://rustsec.org/advisories/RUSTSEC-2026-0006.html rustsec.org
Source: the record CVE-2026-24116 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse