Vulnerability in Pydantic Httpx2
CVE-2026-84378
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.003 (22.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 23rd percentile — 22.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: -0.000
Affected products
- Pydantic Httpx2 — versions >= 2.5.0, < 2.10.0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-84378?
- CVE-2026-84378 is a medium-severity vulnerability in Pydantic Httpx2, classified under Inefficient Algorithmic Complexity. CVSS score: 5.9/10. Published 2026-09-02.
- How severe is CVE-2026-84378?
- Medium severity. CVSS v3 base score is 5.9 out of 10.