CVE-2026-34945
wasmtime: winch: Wasmtime Winch compiler: Information disclosure via incorrect table.size instruction translation
Overview
Description
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.
Source: OX vulnerability database
Severity
6.5 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-681
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Cargo (Rust) | wasmtime | >=25.0.0, <36.0.7>=37.0.0, <42.0.2>=43.0.0, <43.0.1 | 36.0.742.0.243.0.1 |
| Julia | Wasmtime_jll | >=39.0.0+0, <45.0.1+0 | 45.0.1+0 |
Open a package to see all its vulnerabilities.
Operating systems · 14 fixes
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | libtree-sitter0-26 +2 | 0.26.8-160000.1.1 | SUSE-SU-2026:21789-1 |
chainguard 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| zed | 0.228.0-r3 | |
| yara-x | 1.15.0-r2 | |
| wizer | 11.0.3-r10 | |
| wasmcloud | 2.0.4-r0 |
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | rust-wasmtime | affected |
| 14 | rust-wasmtime | 36.0.7+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| rust-wasmtime | affected |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libtree-sitter0-26 +3 | 0.26.8-1.1 | openSUSE-SU-2026:10598-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | libtree-sitter0-26 +3 | 0.26.8-160000.1.1 | openSUSE-SU-2026:20749-1 |
wolfi 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| zed | 0.228.0-r3 | |
| yara-x | 1.15.0-r2 | |
| wizer | 11.0.3-r10 | |
| wasmcloud | 2.0.4-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-34945
- github.com https://github.com/advisories/GHSA-m9w2-8782-2946
- github.com https://github.com/bytecodealliance/wasmtime
- github.com https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9w2-8782-2946
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-34945
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2026-0086.html
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-34945
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.