Wasmtime before 36.0.21 Denial of Service via wasi-http Empty HTTP/2 Body Writes
- CVE-2026-140415
- GHSA-f8mm-ggr3-89wh
- GHSA-wgq5-7wcf-qq38
- RUSTSEC-2026-0571
- EUVD-2026-140228
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.
Text from the CVE.org record.
Recommendation
bytecodealliance wasmtime
- If you run 50.0.xupdate to 50.0.2 or laterPatch update: breaking changes are unlikely
- If you run 49.0.xupdate to 49.0.6 or laterPatch update: breaking changes are unlikely
- If you run a version from 37.0.0 to before 48.0.9update to 48.0.9 or laterMajor version change: expect breaking changes
- If you run a version before 36.0.21update to 36.0.21 or later
wasmtime
- If you run 50.0.xupdate to 50.0.2 or laterPatch update: breaking changes are unlikelywasmtime 50.0.2 on its registry (opens in a new tab)
- If you run 49.0.xupdate to 49.0.6 or laterPatch update: breaking changes are unlikelywasmtime 49.0.6 on its registry (opens in a new tab)
- If you run a version from 37.0.0 to before 48.0.9update to 48.0.9 or laterMajor version change: expect breaking changeswasmtime 48.0.9 on its registry (opens in a new tab)
- If you run a version from 0.0.0-0 to before 36.0.21update to 36.0.21 or laterMajor version change: expect breaking changeswasmtime 36.0.21 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
bytecodealliance wasmtime
Affected versions Fixed in from 50.0.0 to before 50.0.2 50.0.2 from 49.0.0 to before 49.0.6 49.0.6 from 37.0.0 to before 48.0.9 48.0.9 before 36.0.21 36.0.21 wasmtimecrates.io
Affected versions Fixed in from 50.0.0 to before 50.0.2 50.0.2 from 49.0.0 to before 49.0.6 49.0.6 from 37.0.0 to before 48.0.9 48.0.9 from 0.0.0-0 to before 36.0.21 36.0.21
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.