# CVE-2026-84378: HTTPX2: Quadratic SSE line buffering can cause CPU denial of service

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-09-02T17:54:19.431Z
- Modified: 2026-09-10T12:26:01.695Z
- Also known as: GHSA-f2fp-rgf2-35cp, PYSEC-2026-3847
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- pydantic httpx2: >= 2.5.0, < 2.10.0
- httpx2 (PyPI): from 2.5.0 before 2.10.0

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/pydantic/httpx2/security/advisories/GHSA-f2fp-rgf2-35cp> (web)
- <https://github.com/pydantic/httpx2/pull/1071> (web)
- <https://github.com/pydantic/httpx2/pull/1117> (web)
- <https://github.com/pydantic/httpx2/commit/cbfc0e04ef6507da29ccbb3b9c2e5b23dd693414> (web)
- <https://github.com/pydantic/httpx2/releases/tag/v2.10.0> (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)

## Sources

- CVE List: [CVE-2026-84378](https://www.cve.org/CVERecord?id=CVE-2026-84378), CVE Terms of Use, modified 2026-09-02
- GitHub Advisory Database: [GHSA-f2fp-rgf2-35cp](https://github.com/advisories/GHSA-f2fp-rgf2-35cp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-84378](https://nvd.nist.gov/vuln/detail/CVE-2026-84378), Public domain, modified 2026-09-09
- PyPA Advisory Database: [PYSEC-2026-3847](https://osv.dev/vulnerability/PYSEC-2026-3847), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-84378 · Whole record: https://cve.day/CVE-2026-84378.json · Rebuilt by cve.day 2026-11-25T22:59:36.139Z
