CVE-2026-84378

published 2 Sep 2026 · updated 2 Sep 2026

HTTPX2: Quadratic SSE line buffering can cause CPU denial of service

5.9MediumCVSS 5.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pydantic>=2.5.0 <2.10.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-84378 severity on Zeptric[![CVE-2026-84378](https://zeptric.io/badge/cve/CVE-2026-84378.svg)](https://zeptric.io/cve/CVE-2026-84378)