CVE-2026-34988 Wasmtime leaks data between pooling allocator instances
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
Wasmtime is a runtime for WebAssembly. From 28.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's implementation of its pooling allocator contains a bug where in certain configurations the contents of linear memory can be leaked from one instance to the next. The implementation of resetting the virtual memory permissions for linear memory used the wrong predicate to determine if resetting was necessary, where the compilation process used a different predicate. This divergence meant that the pooling allocator incorrectly deduced at runtime that resetting virtual memory permissions was not necessary while compile-time determine that virtual memory could be relied upon. The pooling allocator must be in use, Config::memory_guard_size configuration option must be 0, Config::memory_reservation configuration must be less than 4GiB, and pooling allocator must be configured with max_memory_size the same as the memory_reservation value in order to exploit this vulnerability. If all of these conditions are applicable then when a linear memory is reused the VM permissions of the previous iteration are not reset. This means that the compiled code, which is assuming out-of-bounds loads will segfault, will not actually segfault and can read the previous contents of linear memory if it was previously mapped. This represents a data leakage vulnerability between guest WebAssembly instances which breaks WebAssembly's semantics and additionally breaks the sandbox that Wasmtime provides. Wasmtime is not vulnerable to this issue with its default settings, nor with the default settings of the pooling allocator, but embeddings are still allowed to configure these values to cause this vulnerability. This vulnerability is fixed in 36.0.7, 42.0.2, and 43.0.1.
Upgrade path
9 packages: 3 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/rust-wasmtime(Debian 13) | = 26.0.1+dfsg-3; = 26.0.1+dfsg-4; = 26.0.1+dfsg-5; = 26.0.1+dfsg-6 +40 more | No fix listed | No fix yet |
| redhat/redhat-user-workloads/rhcl-1-3-wasm-shim(Red Hat connectivity_link 1) | All versions | No fix listed | No fix yet |
| redhat/virt-firmware-rs(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| ubuntu/rust-wasmtime(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/rust-wasmtime(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/rust-wasmtime(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| bytecodealliance wasmtime | = 43.0.0; = >= 28.0.0, < 36.0.7; = >= 37.0.0, < 42.0.2; = >= 43.0.0, < 44.0.1 +2 more | 36.0.7, 42.0.2 | Fixed |
| crates.io wasmtime(crates.io) | = 43.0.0; >= 0.0.0-0, < 36.0.7; >= 28.0.0, < 36.0.7; >= 37.0.0, < 42.0.2 +1 more | 36.0.7, 42.0.2, 43.0.1 | Fixed |
| debian/rust-wasmtime(Debian 14) | < 36.0.7+dfsg-1; = 26.0.1+dfsg-3; = 26.0.1+dfsg-4; = 26.0.1+dfsg-5 +31 more | 36.0.7+dfsg-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| bytecodealliance wasmtime | = >= 28.0.0, < 36.0.7 | No fix listed |
| bytecodealliance wasmtime | = >= 37.0.0, < 42.0.2 | No fix listed |
| bytecodealliance wasmtime | = >= 43.0.0, < 44.0.1 | No fix listed |
| crates.io wasmtime(crates.io) | >= 28.0.0, < 36.0.7 | 36.0.7 |
| crates.io wasmtime(crates.io) | >= 37.0.0, < 42.0.2 | 42.0.2 |
| crates.io wasmtime(crates.io) | >= 43.0.0, < 43.0.1 | 43.0.1 |
| crates.io wasmtime(crates.io) | = 43.0.0 | No fix listed |
| crates.io wasmtime(crates.io) | >= 0.0.0-0, < 36.0.7 | 36.0.7 |
| debian/rust-wasmtime(Debian:13) | All versions | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-10 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-8 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 26.0.1+dfsg-9 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 27.0.0+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 27.0.0+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 27.0.0+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 28.0.1+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 28.0.1+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 28.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-2 | No fix listed |
Show 70 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 29.0.1+dfsg-8 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.11+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.12+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.12+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.12+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.13+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.5+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.6+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.7+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.8+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.9+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:13) | = 36.0.9+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | < 36.0.7+dfsg-1 | 36.0.7+dfsg-1 |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-10 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-8 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 26.0.1+dfsg-9 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 27.0.0+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 27.0.0+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 27.0.0+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 28.0.1+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 28.0.1+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 28.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-7 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 29.0.1+dfsg-8 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.5+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-1 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-2 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-3 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-4 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-5 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-6 | No fix listed |
| debian/rust-wasmtime(Debian:14) | = 36.0.6+dfsg-7 | No fix listed |
| redhat/redhat-user-workloads/rhcl-1-3-wasm-shim(Red Hat:connectivity_link:1) | All versions | No fix listed |
| redhat/virt-firmware-rs(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| ubuntu/rust-wasmtime(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rust-wasmtime(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/rust-wasmtime(Ubuntu:26.10) | All versions | No fix listed |
| bytecodealliance wasmtime | >= 28.0.0, < 36.0.7 | 36.0.7 |
| bytecodealliance wasmtime | >= 37.0.0, < 42.0.2 | 42.0.2 |
| bytecodealliance wasmtime | = 43.0.0 | No fix listed |
References
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-6wgr-89rj-399p mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com
- github.com
- Debian Security Tracker CVE-2026-34988 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2457009 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking