httpx2 reassembled fragmented WebSocket messages by appending each continuation frame to a bytes buffer, copying the
Source GCVE Database
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
Thin evidence
One scorer or none| CNA (Pydantic) | CVSS 3.1 | 5.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:LExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| pydantichttpx2 | Affected
| Fixed in
|
PyPIhttpx2pkg:pypi/httpx2Other threats | Affected
| Fixed in
|
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.