Skip to content
OpenAdvisories
Medium · 5.8 CVE-2026-115391 EUVD-2026-108324GHSA-6862-f859-6m9rGHSA-x84v-gj2h-g759RUSTSEC-2026-0268

Wasmtime 46.0.0 before 46.0.3 and 47.0.0 before 47.0.4 Unbounded Heap Allocation via WASIp3 Streams

Published Oct 22, 2026 · Updated Nov 4, 2026 · Assigned by VulnCheck

Description

Wasmtime 46.0.0 before 46.0.3 and 47.0.0 before 47.0.4 contains an uncontrolled resource allocation vulnerability in its WASIp3 implementation that buffers guest-specified-length writes on the host without limit. Malicious guests can offer large buffers to WASIp3 file or HTTP write streams, causing the host to copy and buffer all bytes, bounded only by guest linear memory, exhausting host memory.

Affected products

VendorProductAffectedFixed
bytecodealliance wasmtime 46.0.0 – < 46.0.3, 47.0.0 – < 47.0.4 46.0.3

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
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 >= 46.0.0, < 46.0.3 · >= 47.0.0, < 47.0.4 46.0.3, 47.0.4 RUSTSEC-2026-0268

References