CVE-2026-84378

Medium

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductHttpx2
PublishedSep 2, 2026
First seenSep 2, 2026
Weakness typeCWE-407CWE-407

How to fix

Update
  • httpx22.10.0 or later

Affected products

ProductAffected versionsFixed in
httpx2PyPI2.5.0 ≤ v < 2.10.02.10.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.