CVE-2026-84378
MEDIUM 5.9CVSS 3.1HTTPX2: Quadratic SSE line buffering can cause CPU denial of service
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
- 2 Sep 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-407
- Also known as
- GHSA-f2fp-rgf2-35cpPYSEC-2026-3847
- Sources
- NVDJSONOSV GHSA-f2fp-rgf2-35cpJSONOSV PYSEC-2026-3847JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | httpx2 | >= 2.5.0, < 2.10.0 | 2.10.0 |
References
- https://github.com/pydantic/httpx2/commit/cbfc0e04ef6507da29ccbb3b9c2e5b23dd693414 · WEB
- https://github.com/pydantic/httpx2/pull/1071 · WEB
- https://github.com/pydantic/httpx2/pull/1117 · WEB
- https://github.com/pydantic/httpx2/releases/tag/v2.10.0 · WEB
- https://github.com/pydantic/httpx2/security/advisories/GHSA-f2fp-rgf2-35cp · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-84378 · ADVISORY
- https://github.com/pydantic/httpx2 · PACKAGE
- https://pypi.org/project/httpx2 · PACKAGE
- https://github.com/advisories/GHSA-f2fp-rgf2-35cp · ADVISORY
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 2 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Sep 2026)