CVEfocus › CVE database › CVE-2026-24116

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

CVSS 4.1 MediumEPSS 0.3% (higher than 13% of CVEs)Published 2026-01-27Updated 2026-01-27Assigner: GitHub_M

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.

CWE-125

What to do

Fixed builds are available from Debian, crates.io: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
1Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10rust-wasmtimeFix pendingUBUNTU-CVE-2026-24116
Ubuntu 26.04rust-wasmtimeUnder investigationUBUNTU-CVE-2026-24116
Ubuntu 25.10rust-wasmtimeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-24116
Ubuntu 24.04rust-wasmtimeUnder investigationUBUNTU-CVE-2026-24116
Debian 14rust-wasmtimeFixed36.0.5+dfsg-1DEBIAN-CVE-2026-24116
crates.io librarywasmtimeFixed40.0.3GHSA-vc8c-j3xm-xj73

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.