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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-12052— zephyrproject zephyr 缓冲区错误漏洞

一分钟漏洞结论

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

zephyrproject zephyr是zephyrproject组织开源的一个面向物联网设备的实时操作系统。 zephyrproject zephyr 4.0.0版本至4.4.2之前版本存在缓冲区错误漏洞,该漏洞源于usbd_cdc_ncm.c中的USB设备端CDC NCM类控制处理程序在构建固定大小响应时忽略主机提供的wLength,导致越界写入,可能破坏相邻分配和元数据,导致内存损坏和USB堆栈拒绝服务。

CVSS 5.2 · Medium EPSS 0.27% · P17

影响版本矩阵 1

厂商产品 版本范围状态
zephyrproject zephyr 4.0.0< 4.4.2 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Out-of-bounds write in USB CDC NCM control handler when host wLength is smaller than the response
来源: CVE Program / CVE List V5
Vulnerability Description
The USB device-side CDC NCM class control-to-host handler usbd_cdc_ncm_cth in subsys/usb/device_next/class/usbd_cdc_ncm.c builds a fixed-size response for the GET_NTB_PARAMETERS (28-byte struct ntb_parameters) and GET_NTB_INPUT_SIZE (8-byte struct ntb_input_size) class requests and copies the whole structure into the control DATA IN buffer with net_buf_add_mem(buf, ..., sizeof(...)), ignoring the host-supplied wLength. The control DATA IN buffer is allocated by the USB stack with a capacity of exactly wLength bytes (usbd_ep_ctrl_data_in_alloc -> udc_ctrl_data_alloc -> net_buf_alloc_len(&udc_ep_pool, wLength); no round-up is applied for the IN endpoint). Because net_buf_add_mem/net_buf_simple_add only bounds the copy with an __ASSERT_NO_MSG, which is compiled out in production builds, a host that issues one of these standard CDC NCM control requests with a wLength smaller than the response structure (e.g. wLength = 1) causes the handler to memcpy up to 27 bytes past the end of the allocated pool buffer. The request fields come straight from the USB SETUP packet, so any host (or USB interposer) the Zephyr device enumerates against can trigger the overflow with no authentication once an image built with the device_next USB stack and the CDC NCM class is connected. The out-of-bounds write corrupts adjacent allocations and metadata in the shared udc_ep_pool, primarily causing memory corruption and denial of service of the USB stack; the overflow length is bounded (<= 27 bytes) and the written content is fixed device constants, and the bug reads nothing back so there is no information disclosure. The fix clamps the copy with MIN(sizeof(...), setup->wLength), matching the existing CDC ACM handler.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
来源: CVE Program / CVE List V5
Vulnerability Title
zephyrproject zephyr 缓冲区错误漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
zephyrproject zephyr是zephyrproject组织开源的一个面向物联网设备的实时操作系统。 zephyrproject zephyr 4.0.0版本至4.4.2之前版本存在缓冲区错误漏洞,该漏洞源于usbd_cdc_ncm.c中的USB设备端CDC NCM类控制处理程序在构建固定大小响应时忽略主机提供的wLength,导致越界写入,可能破坏相邻分配和元数据,导致内存损坏和USB堆栈拒绝服务。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
zephyrproject zephyr 4.0.0 ~ 4.4.2 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-12052 补丁与修复 (1)

CVE-2026-12052 厂商安全公告 (1)

同批安全公告 · zephyrproject · 2026-08-11 · 共 5 条

CVE-2026-11893 5.9 MEDIUM zephyrproject zephyr 资源管理错误漏洞
CVE-2026-11894 5.9 MEDIUM zephyrproject zephyr 资源管理错误漏洞
CVE-2026-12051 4.6 MEDIUM zephyrproject zephyr 异常处理不当漏洞
CVE-2026-11985 3.6 LOW zephyrproject zephyr 信息泄露漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-12052

暂无评论


发表评论