CVE-2026-84378
CVE-2026-84378 · HTTPX2: Quadratic SSE line buffering can cause CPU denial of service
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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.
CVSS 5.9 · Media · EPSS 0,3% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system · python
Productos y versiones afectados
httpx2
- Versiones
- >= 2.5.0, < 2.10.0: Afectada
Sin corrección publicada
python-httpx2 Debian:14
- Versiones
- 2.4.0-1
- 2.5.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.12.0-1
Actualiza a 2.12.0-1
httpx2 PyPI
- Versiones
- 2.5.0
- 2.6.0
- 2.7.0
- 2.8.0
- 2.9.0
- 2.9.1
- Intervalos de versiones afectados
- ECOSYSTEM: ≥ 2.5.0, < 2.10.0
Actualiza a 2.10.0
python-httpx2 Ubuntu:26.10
- Versiones
- 2.5.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
Fuentes originales
- https://github.com/pydantic/httpx2/security/advisories/GHSA-f2fp-rgf2-35cp
- https://github.com/pydantic/httpx2/pull/1071
- https://github.com/pydantic/httpx2/pull/1117
- https://github.com/pydantic/httpx2/commit/cbfc0e04ef6507da29ccbb3b9c2e5b23dd693414
- https://github.com/pydantic/httpx2/releases/tag/v2.10.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-84378