All vulnerabilities

crates.io

CVE-2026-140415

Wasmtime before 36.0.21 Denial of Service via wasi-http Empty HTTP/2 Body Writes

Severity
Medium 5.3
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
36.0.21, 48.0.9, 49.0.6, 50.0.2
Weakness
Uncontrolled resource consumption (CWE-400)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Sources
CVE Program

Description

wasmtime-wasi-http in Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not reject zero-length writes to outgoing HTTP/2 bodies sent via hyper, and these empty DATA frames bypass flow-control and send-buffer limits. A malicious wasi-http guest paired with a slow or stalled peer can issue many empty writes to exhaust host memory.

From the CVE Program.

Affected software

SoftwareAffected versions
wasmtime-wasi-httpcrates.io · osv:crates.io:wasmtime-wasi-http
  • Every version before 36.0.21
  • From 37.0.0 before 48.0.9
  • From 49.0.0 before 49.0.6
  • From 50.0.0 before 50.0.2

About wasmtime-wasi-http

Downloads in the last 90 days (crates.io)
750,352crates.io, 1 Dec 2026
Total downloads (crates.io)
2,341,022crates.io, 1 Dec 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-140415