CVE-2025-57804: h2 allows HTTP Request Smuggling due to illegal characters in headers
Summary HTTP/2 request splitting vulnerability allows attackers to perform request smuggling attacks by injecting CRLF characters into headers. This occurs when servers downgrade HTTP/2 requests to HTTP/1.1 without properly validating header names/values, enabling attackers to manipulate request boundaries and bypass security controls.
Published Aug 25, 2025 · Updated Nov 3, 2025
Affected packages
h2
- Ecosystem
- PyPI
- Affected
- < 4.3.0
- Fixed in
- 4.3.0
- Check
pip show h2
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
HTTP/2 request splitting vulnerability allows attackers to perform request smuggling attacks by injecting CRLF characters into headers. This occurs when servers downgrade HTTP/2 requests to HTTP/1.1 without properly validating header names/values, enabling attackers to manipulate request boundaries and bypass security controls.
Credited to sebastianosrt, mhils.
References
- https://github.com/python-hyper/h2/security/advisories/GHSA-847f-9342-265h
- https://github.com/python-hyper/h2/commit/035e9899f95e3709af098f578bfc3cd302298e3a
- https://nvd.nist.gov/vuln/detail/CVE-2025-57804
- https://lists.debian.org/debian-lts-announce/2025/09/msg00004.html
- https://github.com/advisories/GHSA-847f-9342-265h
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
