Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-115381 EUVD-2026-108306GHSA-gqmc-89g8-p25rGHSA-m3j5-9cx2-7c68RUSTSEC-2026-0322

Wasmtime before 36.0.17, 37.0.0 before 48.0.4, and 49.0.0 before 49.0.2 Unbounded Host Memory Allocation via SinkOutputStream write-zeroes

Published Oct 22, 2026 · Updated Oct 26, 2026 · Assigned by VulnCheck

Description

Wasmtime before 36.0.17, 37.0.0 before 48.0.4, and 49.0.0 before 49.0.2 contains an unbounded memory allocation in the wasmtime-wasi WASIp2 write-zeroes method of SinkOutputStream, the default stream used when stdout/stderr are not configured. A malicious WebAssembly guest can request huge zero-filled writes, exhausting host memory and causing denial of service.

Affected products

VendorProductAffectedFixed
bytecodealliance wasmtime < 36.0.17, 37.0.0 – < 48.0.4, 49.0.0 – < 49.0.2 36.0.17

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-wasmtime 36.0.20+dfsg-1 —
Debian 13 rust-wasmtime No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-wasmtime No fix yet —
Ubuntu 26.04 LTS rust-wasmtime No fix yet —
Ubuntu 24.04 LTS rust-wasmtime No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io wasmtime-wasi >= 0.0.0-0, < 36.0.17 · >= 37.0.0, < 48.0.4 · >= 49.0.0, < 49.0.2 36.0.17, 48.0.4, 49.0.2 RUSTSEC-2026-0322

References