PT-2026-31686 · Bytecode Alliance · Wasmtime

CVE-2026-34945

·

Published

2026-04-09

·

Updated

2026-04-21

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Wasmtime versions 25.0.0 through 36.0.6, 42.0.2, and 43.0.1
Description Wasmtime's Winch compiler has a flaw in how it handles the table.size instruction with 64-bit tables, part of the WebAssembly memory64 proposal. This can lead to the disclosure of data from the host's stack to WebAssembly guests. The host stack may contain sensitive data from other operations that should not be accessible to guests. The issue stems from the table.size return value being incorrectly typed as a 32-bit integer instead of dynamically determining its size based on the table's index type. This, combined with Winch's Application Binary Interface (ABI) and multi-value returns, allows reading host stack data within a guest.
Recommendations Update to Wasmtime version 36.0.7, 42.0.2, or 43.0.1.

Exploit

Fix

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-34945
GHSA-M9W2-8782-2946
OPENSUSE-SU-2026:10598-1
OPENSUSE-SU-2026:20749-1
RUSTSEC-2026-0086
SUSE-SU-2026:21789-1

Affected Products

Wasmtime