# GHSA-9PRG-84VF-G5FC: wasi-http p3: Guests can set incorrect content-length for spliced response bodies

- Database: GitHub
- Severity: CVSS 5.3 (Medium)
- Published: 2026-10-19
- Modified: 2026-10-19

## Affected versions

- wasmtime-wasi-http (crates.io): from 49.0.0, fixed in 49.0.4

## Description

### Summary

When a wasip3 guest splices an existing body into a new response, it can set an invalid content-length header which won't be validated. This allows a guest to perform response splitting/injection attacks.

### Patches

Patches are present in main, the 50.0.0 release branch, and patch releases 48.0.7 and 49.0.4.

## References

- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-9prg-84vf-g5fc

Page: https://cve.now/GHSA-9PRG-84VF-G5FC

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
