CVE Catalog

CVE-2026-84378

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Summary

In HTTPX2 from version 2.5.0 until 2.10.0, a vulnerability was found in the Server-Sent Events parser in src/httpx2/httpx2/_sse.py. The _SSELineDecoder.decode() method repeatedly copies and rescans buffered text when an attacker-controlled or compromised SSE endpoint splits one unterminated line across many response chunks. 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.

Risk Assessment

The vulnerability may lead to a denial of service (DoS) attack through excessive CPU consumption, potentially causing application or service unavailability.

Recommendation

It is recommended to upgrade to version 2.10.0, which fixes the issue.

Other vulnerabilities in HTTPX2

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS