All reports
Medium

wasmtime: wasmtime: Response splitting via unvalidated Content-Length headers in wasi-http

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-121439

Probability of exploitation in the next 30 days: 0.19%

FIRST EPSS · 2026-11-21

Description

Wasmtime 46.0.0 before 48.0.7 and 49.0.0 before 49.0.4 contains a response splitting vulnerability in wasi-http p3 that allows guests to set unvalidated content-length headers. Malicious wasip3 guests can splice an existing body into a new response with an incorrect content-length to perform response splitting or injection attacks.

A flaw was found in wasmtime. The wasi-http component fails to properly validate Content-Length headers when processing network responses. A malicious WebAssembly guest can supply an invalid Content-Length header and splice response bodies, allowing HTTP (Hypertext Transfer Protocol) response splitting and injection attacks against downstream clients or proxies.