CVE-2026-84378
published medium CVSS 3.1 · 5.9HTTPX2: Quadratic SSE line buffering can cause CPU denial of service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pydantic | — | httpx2>= 2.5.0, < 2.10.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pydantic | httpx2 | >= 2.5.0, < 2.10.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-407 CWE-407: Inefficient Algorithmic Complexity
References
5- https://github.com/pydantic/httpx2/commit/cbfc0e04ef6507da29ccbb3b9c2e5b23dd693414
- 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
Provider assertions
2GitHub_M · cna
HTTPX2: Quadratic SSE line buffering can cause CPU denial of service
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 402c3321baf6b02216bef2178e3c1effef4b7bd00825cfd8bb8bb8d84eda8b16
- Ingested
- 23 Sep 2026, 09:36:16 UTC
- Source record
- Official CVE record