CVE-2026-34945Wasmtime leaks host data with 64-bit tables and Winch
Wasmtime is a runtime for WebAssembly. From 25.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's Winch compiler contains a bug where a 64-bit table, part of the memory64 proposal of WebAssembly, incorrectly translated the table.size instruction. This bug could lead to disclosing data on the host's stack to WebAssembly guests. The host's stack can possibly contain sensitive data related to other host-originating operations which is not intended to be disclosed to guests. This bug specifically arose from a mistake where the return value of table.size was statically typed as a 32-bit integer, as opposed to consulting the table's index type to see how large the returned register could be. When combined with details about Wnich's ABI, such as multi-value returns, this can be combined to read stack data from the host, within a guest. This vulnerability is fixed in 36.0.7, 42.0.2, and 43.0.1.
What to do
Fixed builds are available from Debian, crates.io: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rust-wasmtime | Fix pending | UBUNTU-CVE-2026-34945 | |
| Ubuntu 26.04 | rust-wasmtime | Under investigation | UBUNTU-CVE-2026-34945 | |
| Ubuntu 25.10 | rust-wasmtime | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-34945 | |
| Ubuntu 24.04 | rust-wasmtime | Under investigation | UBUNTU-CVE-2026-34945 | |
| Debian 14 | rust-wasmtime | Fixed | 36.0.7+dfsg-1 | DEBIAN-CVE-2026-34945 |
| Debian 13 | rust-wasmtime | Fix pending | DEBIAN-CVE-2026-34945 | |
| Red Hat Enterprise Linux 10 | virt-firmware-rs | Fix pending Fix deferred | ||
| crates.io library | wasmtime | Fixed | 42.0.2 | RUSTSEC-2026-0086 |
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.
- bytecodealliance wasmtime: affected: >= 25.0.0, < 36.0.7, >= 37.0.0, < 42.0.2, >= 43.0.0, < 44.0.1
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.