Vulnerability Description
HTTPX2 is a next generation HTTP client for Python. From 2.5.0 until 2.10.0, the HTTPX2 Server-Sent Events parser in src/httpx2/httpx2/_sse.py repeatedly copies and rescans buffered text in _SSELineDecoder.decode() when an attacker-controlled or compromised SSE endpoint splits one unterminated line across many response chunks. The behavior affects httpx2.Client.sse() and httpx2.AsyncClient.sse(), and the total processing work grows quadratically with the line length, allowing a crafted stream to consume excessive CPU and block a synchronous worker or asynchronous event loop. This issue is fixed in version 2.10.0.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/pydantic/httpx2/commit/cbfc0e04ef6507da29ccbb3b9c2e5b23dd6934
- https://github.com/pydantic/httpx2/pull/1071
- https://github.com/pydantic/httpx2/pull/1117
- https://github.com/pydantic/httpx2/releases/tag/v2.10.0
- https://github.com/pydantic/httpx2/security/advisories/GHSA-f2fp-rgf2-35cp
FAQ
What is CVE-2026-84378?
CVE-2026-84378 is a vulnerability with a CVSS score of 5.9 (MEDIUM). HTTPX2 is a next generation HTTP client for Python. From 2.5.0 until 2.10.0, the HTTPX2 Server-Sent Events parser in src/httpx2/httpx2/_sse.py repeatedly copies and rescans buffered text in _SSELineDe...
How severe is CVE-2026-84378?
CVE-2026-84378 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-84378?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.