CVE-2026-132651: pydantic httpx2 · Inefficient Algorithmic Complexity
Affects pydantic httpx2Source CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 2.18.0 when convenient.
Data as of 4 Dec 2026, 12:19 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 pydantic 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 httpx2 to version 2.18.0 or later, where the vulnerability 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 exposure. Avoid connecting to untrusted endpoints over unencrypted ws:// connections.
Description
CVE-2026-132651 is an inefficient algorithmic complexity vulnerability in the httpx2 library used by pydantic. The issue arises from how fragmented WebSocket messages are reassembled by copying the entire accumulated message on every continuation frame, leading to quadratic time complexity. This can cause performance degradation and blocking of the event loop in asynchronous clients when connecting to untrusted WebSocket endpoints over unencrypted connections. The vulnerability affects versions from 2.6.0 up to but excluding 2.18.0. A fix is available in version 2.18.0, which improves message reassembly efficiency.