CVE-2026-34945
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 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.
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 Winch compiler incorrectly typed the return value of the table.size instruction as 32-bit instead of using the table's index type for 64-bit tables in the memory64 proposal. This allowed WebAssembly guests to read host stack data by exploiting the ABI mismatch between the 32-bit return value and the actual 64-bit table size, potentially exposing sensitive host operation data.
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>= 25.0.0, < 36.0.7>= 37.0.0, < 42.0.2>= 43.0.0, < 43.0.1CVSS 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
- Low
- Privileges
- 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
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 Wasmtime versionRun `wasmtime --version` or check the Wasmtime library version in your dependency manifestAffected if The version falls within any of these ranges: >=25.0.0 and <36.0.7, >=37.0.0 and <42.0.2, or >=43.0.0 and <43.0.1
-
Confirm Winch compiler is in useInspect your Wasmtime configuration or runtime settings to determine if the Winch compiler is enabled (check for 'winch' in compiler selection flags or config)Affected if Winch is selected as the compiler for WebAssembly modules
-
Verify memory64 proposal is enabledCheck if your WebAssembly module or runtime configuration enables the memory64 proposal (look for 'memory64' in Wasm features or module configuration)Affected if memory64 is enabled for WebAssembly modules being executed
-
Confirm untrusted Wasm code executionReview your application architecture to determine whether untrusted or third-party WebAssembly code is executed using the affected Wasmtime instanceAffected if Untrusted WebAssembly code that uses memory64 is executed with the vulnerable Wasmtime version
You are affected if your Wasmtime version is in the vulnerable ranges, Winch compiler is enabled, memory64 is in use, and untrusted WebAssembly code is executed with this configuration.
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.243.0.1
Upgrade Wasmtime to version 36.0.7, 42.0.2, or 43.0.1 or later. If upgrading is not immediately feasible, disable the Winch compiler or ensure no untrusted WebAssembly code using memory64 is executed with the affected versions.
Upgrade to 36.0.7 (for 25.x-35.x), 42.0.2 (for 37.x-41.x), or 43.0.1 (for 43.0.0) - choose the appropriate version based on your current branch
- Identify the current Wasmtime version in use by checking your project's dependencies or build configuration
- Determine which version branch you are on based on the current version (25.x-35.x, 37.x-41.x, or 43.0.0)
- Upgrade Wasmtime to the appropriate fixed version: 36.0.7 or later for 25.x-35.x branches, 42.0.2 or later for 37.x-41.x branches, or 43.0.1 for the 43.0.0 branch
- Verify the upgrade by running your test suite to ensure the runtime functions correctly after the version change
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing8.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,864.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-34945 — 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-34945 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