CVE-2026-34988 in Bytecodealliance Wasmtime
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 perm...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Bytecodealliance | Wasmtime | 43.0.0 ≥ 28.0.0, < 36.0.7 ≥ 37.0.0, < 42.0.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-34988 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-151399-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
| Published | 2026-04-09 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-119: Improper Restriction of Operations within Memory Buffer
Parent class for buffer-related vulnerabilities where operations exceed buffer boundaries.
Related attack patterns (CAPEC)
CAPEC-8 Buffer Overflow in an API Call via CWE-119
CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-119
CAPEC-10 Buffer Overflow via Environment Variables via CWE-119
CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-119
CAPEC-24 Filter Failure through Buffer Overflow via CWE-119
Show all 12
CAPEC-42 MIME Conversion via CWE-119
CAPEC-44 Overflow Binary Resource File via CWE-119
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-119
CAPEC-46 Overflow Variables and Tags via CWE-119
CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-119
CAPEC-100 Overflow Buffers via CWE-119
CAPEC-123 Buffer Manipulation via CWE-119
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Wasmtime, a runtime for WebAssembly, contains a vulnerability in its pooling allocator implementation affecting versions from 28.0.0 to before 36.0.7, 42.0.2, and 43.0.1. This bug can lead to the leakage of linear memory contents from one instance to another due to incorrect virtual memory permission resets.
An attacker could exploit this vulnerability by deploying malicious WebAssembly modules that take advantage of the incorrect memory reset logic. This could potentially allow the attacker to access sensitive data from other WebAssembly instances running in the same Wasmtime environment.
Questions
What is CVE-2026-34988?
Wasmtime, a runtime for WebAssembly, contains a vulnerability in its pooling allocator implementation affecting versions from 28.0.0 to before 36.0.7, 42.0.2, and 43.0.1. This bug can lead to the leakage of linear memory contents from one instance to another due to incorrect virtual memory permission resets.
What is the CVSS score for CVE-2026-34988?
CVE-2026-34988 has CVSS 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N. EPSS: 0.3%.
Is CVE-2026-34988 actively exploited?
No confirmed active exploitation of CVE-2026-34988 as of 2026-11-03.
How do I remediate CVE-2026-34988?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-34988?
CVE-2026-34988 affects Bytecodealliance Wasmtime.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Bytecodealliance","product":"Wasmtime","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.