Intel

AIKIDO-2026-313978

wasmtime is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-x84v-gj2h-g759 Published 4 days ago

69

Medium Risk

This Affects:

RUSTwasmtime
46.0.0 - 46.0.2
Fixed in 46.0.3
47.0.0 - 47.0.3
Fixed in 47.0.4
Are you affected? Scan for Free

TL;DR

The WASIp3 implementation copies guest-provided bytes during file and HTTP stream write operations without capping the amount buffered on the host. A guest can request very large stream writes and force the host to allocate memory sized by guest-controlled input. Before the fix this allowed unbounded host memory growth and denial of service through resource exhaustion. The fix caps the number of bytes copied per chunk so host buffering no longer scales with untrusted guest input.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your embedding exposes the WASIp3 file or HTTP stream interfaces to guest-controlled writes.

Background info

wasmtime is vulnerable to Denial of Service (DoS) in versions 46.0.0 - 46.0.2 and 47.0.0 - 47.0.3.

How to fix this

Upgrade the wasmtime library to the patch version.