目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-132651— WebSocket 分片重组致 CPU 拒绝服务漏洞

一分钟漏洞结论

影响对象
pydantic httpx2
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

httpx2 在重组分段的 WebSocket 消息时,通过将每个继续帧追加到一个字节缓冲区,并在每一帧都复制整个已累积的消息。WebSocket 服务器,或者在未加密的 ws:// 连接上的路径中间攻击者,可以将消息拆分成许多微小的继续帧,从而使重组耗时与帧数成二次方关系。重组在同步客户端中持有 GIL,在异步客户端中会阻塞事件循环。 当应用使用 client.websocket() 或 httpx2.websocket() 向不受信任的端点打开 WebSocket 会话,且使用 httpx2 版本从 2.6.0

CVSS 5.3 · Medium
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-132651 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Quadratic WebSocket fragment reassembly causes CPU denial of service
来源: CVE Program / CVE List V5
Vulnerability Description
httpx2 reassembled fragmented WebSocket messages by appending each continuation frame to a bytes buffer, copying the whole accumulated message on every frame. A WebSocket server, or an on-path attacker on an unencrypted ws:// connection, can split messages into many tiny continuation frames so that reassembly takes time quadratic in the number of frames. Reassembly holds the GIL in the synchronous client and blocks the event loop in the asynchronous client. Applications are affected when they open a WebSocket session with client.websocket() or httpx2.websocket() to an untrusted endpoint, using httpx2 from 2.6.0 up to (but excluding) 2.18.0. From 2.10.0, the default max_message_size_bytes limit of 64 KiB bounds the work per message, so sustained load needs many messages; versions 2.6.0 to 2.9.1 have no such limit. The issue is fixed in 2.18.0, which collects fragments in a list and joins them once when the final frame arrives. Until then, keep max_message_size_bytes small and connect only to trusted wss:// endpoints.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
来源: CVE Program / CVE List V5
Vulnerability Type
算法复杂性
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
pydantic httpx2 2.6.0 ~ 2.18.0 -

二、漏洞 CVE-2026-132651 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-132651 的情报信息

请登录查看更多情报信息。

CVE-2026-132651 其他参考 (1)

同批安全公告 · pydantic · 2026-12-04 · 共 3 条

CVE-2026-142020 5.9 MEDIUM requests库 iter_lines() 内存耗尽漏洞
CVE-2026-140868 3.7 LOW Proxy-Authorization 头跨域重定向凭据泄露

IV. Related Vulnerabilities