Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. httpx2
  4. ›
  5. CVE-2026-84378

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

September 8, 2026

HTTPX2’s Server-Sent Events (SSE) parser repeatedly copied and rescanned buffered text when a server split one unterminated line across many response chunks. The total work grows quadratically with the length of the line. An attacker-controlled or compromised SSE endpoint can exploit this behavior to consume excessive client CPU.

References

  • github.com/advisories/GHSA-f2fp-rgf2-35cp
  • github.com/pydantic/httpx2/commit/cbfc0e04ef6507da29ccbb3b9c2e5b23dd693414
  • github.com/pydantic/httpx2/pull/1071
  • github.com/pydantic/httpx2/pull/1117
  • github.com/pydantic/httpx2/releases/tag/v2.10.0
  • github.com/pydantic/httpx2/security/advisories/GHSA-f2fp-rgf2-35cp
  • nvd.nist.gov/vuln/detail/CVE-2026-84378

Code Behaviors & Features

Detect and mitigate CVE-2026-84378 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.5.0 before 2.10.0

Fixed versions

  • 2.10.0

Solution

Upgrade to version 2.10.0 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-407: Inefficient Algorithmic Complexity

Source file

pypi/httpx2/CVE-2026-84378.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:56 +0000.