wasi-http p2: body writes past Content-Length fail but are still sent
- GHSA-w2v8-7333-jx5p
- RUSTSEC-2026-0629
Summary
This advisory from the RustSec database, tracked as GHSA-w2v8-7333-jx5p, covers the Wasmtime WASI HTTP preview 2 implementation. When a guest writes more body data than the declared Content-Length, the write call fails as it should, yet the excess bytes are still sent to the peer. The record is not listed in the CISA known exploited vulnerabilities catalog and carries a CVSS score of 5.3. The data provided does not describe affected versions, fixed versions, or specific mitigation steps, so consult the linked GitHub security advisory for those details.
AI summary · verify against the vendor advisory
Description
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-w2v8-7333-jx5p For more information see the GitHub-hosted security advisory.
Text from the OSV record.
Recommendation
wasmtime-wasi-http
- If you run 51.0.xupdate to 51.0.1 or laterPatch update: breaking changes are unlikelywasmtime-wasi-http 51.0.1 on its registry (opens in a new tab)
- If you run a version from 49.0.0 to before 50.0.4update to 50.0.4 or laterMajor version change: expect breaking changeswasmtime-wasi-http 50.0.4 on its registry (opens in a new tab)
- If you run a version from 37.0.0 to before 48.0.11update to 48.0.11 or laterMajor version change: expect breaking changeswasmtime-wasi-http 48.0.11 on its registry (opens in a new tab)
- If you run a version from 0.0.0-0 to before 36.0.24update to 36.0.24 or laterMajor version change: expect breaking changeswasmtime-wasi-http 36.0.24 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
wasmtime-wasi-httpcrates.io
Affected versions Fixed in from 51.0.0 to before 51.0.1 51.0.1 from 49.0.0 to before 50.0.4 50.0.4 from 37.0.0 to before 48.0.11 48.0.11 from 0.0.0-0 to before 36.0.24 36.0.24
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.