Intel

AIKIDO-2026-857131

wasmtime-wasi is vulnerable to Uncontrolled Resource Consumption

CVE-2026-115381Published 4 days ago
November 16, 2026

59

CVE Score

Medium

Uncontrolled Resource Consumption

Are you affected? Scan for Free

TL;DR

With stdout/stderr left unconfigured, a WASI P2 guest can call write-zeroes with a large length; the default SinkOutputStream advertises usize::MAX through check_write, so the host allocates an unbounded zero-filled buffer. Repeated calls can exhaust memory in the embedding host. The fix caps the stream's check_write permit at 64 KiB.

How do I fix this?

Upgrade the wasmtime-wasi library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and run WASI guests without stdio.

Versions

0.0.1 - 36.0.16

Fixed in 36.0.17

37.0.0 - 48.0.3

Fixed in 48.0.4

49.0.0 - 49.0.1

Fixed in 49.0.2

Background info

wasmtime-wasi is vulnerable to Uncontrolled Resource Consumption in versions 0.0.1 - 36.0.16, 37.0.0 - 48.0.3 and 49.0.0 - 49.0.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea