CVE-2026-119131: `wasi-http`: Request with long url before query parameter crashes host
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-w36r-2hch-9xp9 For more information see the GitHub-hosted security advisory.
Other sources
Wasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 contains a denial of service vulnerability in wasmtime-wasi-http that lets guests crash the host by sending long request URLs. Guests can use set-path-with-query with a '?' after byte 65535, overflowing a u16 index in the http crate and triggering a host panic.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rust/wasmtime-wasi-httpto a version that resolves this vulnerability.Fixed in 48.0.6 - Upgrade
Upgrade
rust/wasmtime-wasi-httpto a version that resolves this vulnerability.Fixed in 49.0.3
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using wasmtime-wasi-http are affected if they run Wasmtime 46.0.0 before 48.0.6, or a 49.0.0 release before 49.0.3. The affected software listings include ubuntu/rust-wasmtime and rust/wasmtime-wasi-http.
What must an attacker be able to do to trigger the crash?
An attacker needs to control a WASI HTTP guest that can send a request using set-path-with-query. The guest can trigger the host panic by placing a '?' after byte 65535 in a long request URL; no privileges or user interaction are indicated by the supplied vector.
What is the practical impact?
The issue is a denial of service: the malformed long URL overflows a u16 index in the http crate and causes the host to panic. The supplied severity vector indicates availability impact only, with no confidentiality or integrity impact.