CVE-2026-34988
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedWasmtime 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceWasmtime's pooling allocator has a memory leakage vulnerability where the predicate used to determine if resetting virtual memory permissions for linear memory differs between compile-time and runtime. When specific non-default configurations are used (memory_guard_size=0, memory_reservation<4GiB, max_memory_size=memory_reservation), the VM permissions from a previous WebAssembly instance are not reset when reusing linear memory, allowing one guest instance to read the contents of a previous instance's memory.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 28.0.0, < 36.0.7>= 37.0.0, < 42.0.2= 43.0.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Wasmtime versionRun 'wasmtime --version' or check the version of the Wasmtime library in useAffected if Version is >= 28.0.0 and < 36.0.7, OR >= 37.0.0 and < 42.0.2, OR equals 43.0.0
-
Confirm pooling allocator is in useInspect the Wasmtime configuration or runtime settings for pooling allocator enablementAffected if Pooling allocator is enabled for WebAssembly instance management
-
Check memory_guard_size configurationReview the pooling allocator configuration for the memory_guard_size settingAffected if memory_guard_size is set to 0 (non-default, explicit zero value)
-
Check memory_reservation configurationReview the pooling allocator configuration for the memory_reservation settingAffected if memory_reservation is set to less than 4 GiB (4294967296 bytes)
-
Check max_memory_size configurationReview the pooling allocator configuration for max_memory_size relative to memory_reservationAffected if max_memory_size is configured to equal memory_reservation exactly
All three configuration conditions (memory_guard_size=0, memory_reservation<4GiB, max_memory_size=memory_reservation) must be true on an affected Wasmtime version for the vulnerability to be exploitable in your environment.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped36.0.742.0.2
Upgrade Wasmtime to version 36.0.7, 42.0.2, or 43.0.1. If upgrading is not immediately possible, audit configurations to ensure the pooling allocator is not using the vulnerable combination of memory_guard_size=0, memory_reservation<4GiB, and max_memory_size equal to memory_reservation.
Upgrade to Wasmtime 36.0.7, 42.0.2, or 43.0.1 (or later stable releases within your major version branch)
- 1. Identify the current Wasmtime version in use (e.g., via cargo.toml, package-lock.json, or runtime version check)
- 2. Determine the appropriate upgrade path based on current version: if using 28.x-35.x, upgrade to 36.0.7 or later; if using 37.x-41.x, upgrade to 42.0.2 or later; if using 43.0.0, upgrade to 43.0.1 or later
- 3. Update the Wasmtime dependency in the project's dependency manifest (e.g., Cargo.toml) to the appropriate fixed version
- 4. Run dependency resolution and update (e.g., cargo update wasmtime)
- 5. Rebuild and redeploy the application
- 6. Verify the new version is running correctly
- 7. If using the pooling allocator with custom configurations, audit Config::memory_guard_size, Config::memory_reservation, and max_memory_size settings to ensure the vulnerability conditions are not met
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation3.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,272.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-34988 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-34988 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data