Skip to main content
CVE-2026-132651VulnerabilityPublished

httpx2 reassembled fragmented WebSocket messages by appending each continuation frame to a bytes buffer, copying the

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-132651· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium : upgrade to 2.18.0 when convenient.

Data as of 4 Dec 2026, 14:15 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Pydantic)CVSS 3.15.3
Patch
Available – fixed in 2.18.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.

What to do

Upgrade httpx2 to 2.18.0.

Affected software

ProductAffectedFixed in
pydantichttpx2Affected
  • >=2.6.0 <2.18.0
Fixed in
  • 2.18.0
PyPIhttpx2pkg:pypi/httpx2Other threatsAffected
  • >=2.6.0 <2.18.0
Fixed in
  • 2.18.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to httpx2 version 2.18.0 or later, where the issue is fixed by improved message reassembly logic. Until upgrading, limit max_message_size_bytes to a small value and connect only to trusted wss:// (encrypted) WebSocket endpoints to reduce risk. Avoid connecting to untrusted endpoints over unencrypted ws:// connections. No other mitigations are indicated.

Description

httpx2 versions from 2.6.0 up to but excluding 2.18.0 improperly reassemble fragmented WebSocket messages by repeatedly copying the entire accumulated message on each continuation frame. This causes a quadratic time complexity in message reassembly, potentially leading to denial of service by blocking the event loop or holding the GIL. Versions 2.6.0 to 2.9.1 lack limits on message size, while versions 2.10.0 and later impose a default 64 KiB max message size. The issue is fixed in version 2.18.0 by changing the reassembly method to collect fragments and join them once at the end.

References

Community reviews

Loading reviews…