CVE-2026-84378: HTTPX2: Quadratic SSE line buffering can cause CPU denial of service
HTTPX2’s Server-Sent Events (SSE) parser repeatedly copied and rescanned buffered text when a server split one unterminated line across many response chunks. The total work grows quadratically with the length of the line. An attacker-controlled or compromised SSE endpoint can exploit this behavior to consume excessive client CPU.
References
- github.com/advisories/GHSA-f2fp-rgf2-35cp
- github.com/pydantic/httpx2/commit/cbfc0e04ef6507da29ccbb3b9c2e5b23dd693414
- github.com/pydantic/httpx2/pull/1071
- github.com/pydantic/httpx2/pull/1117
- github.com/pydantic/httpx2/releases/tag/v2.10.0
- github.com/pydantic/httpx2/security/advisories/GHSA-f2fp-rgf2-35cp
- nvd.nist.gov/vuln/detail/CVE-2026-84378
Code Behaviors & Features
Detect and mitigate CVE-2026-84378 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →