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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-16671— MCUboot SHA-384/512构建栈越界写入漏洞

一分钟漏洞结论

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

中的 函数声明了一个固定大小的 缓冲区,并将其作为输出参数 传递给 。该例程会将 字节的数据复制到 中(具体实现在 中的 )。其中, 是一个编译时常量:当启用 时为 64;当启用 /SHA-384 时为 48(定义见 )。由于缓冲区大小始终按 SHA-256(32 字节)分配,而复制长度却取决于所配置的哈希算法,因此写入操作会超出缓冲区边界 16 或 32 字节。 该溢出漏洞仅存在于非默认配置下:必须编译启用遗留的 Mynewt 分片镜像功能(即调用 / ,且未启用 或 ),同时摘要算法的大小必须大于 32 字节(

CVSS 2.9 · Low EPSS 0.11% · P1

影响版本矩阵 1

厂商产品 版本范围状态
mcu-tools mcuboot 2.0.0< 2.5.0 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Out-of-bounds stack write in MCUboot split-image validation with SHA-384/SHA-512 builds
来源: CVE Program / CVE List V5
Vulnerability Description
split_image_check() in boot/bootutil/src/loader.c declares a fixed uint8_t loader_hash[32] buffer and passes it as the out_hash out-parameter to bootutil_img_validate(). That routine copies IMAGE_HASH_SIZE bytes into out_hash (memcpy(out_hash, hash, IMAGE_HASH_SIZE) in boot/bootutil/src/image_validate.c), where IMAGE_HASH_SIZE is a compile-time constant of 64 for MCUBOOT_SHA512 or 48 for MCUBOOT_SIGN_EC384/SHA-384 (boot/bootutil/include/bootutil/crypto/sha.h). The buffer tracks SHA-256 (32 bytes) while the copy length tracks the configured algorithm, so the write overruns the buffer by 16 or 32 bytes. The overflow is only present in a non-default configuration: the legacy Mynewt split-image feature must be compiled (split_go()/split_image_check(), i.e. neither MCUBOOT_DIRECT_XIP nor MCUBOOT_RAM_LOAD), the digest must be larger than 32 bytes (MCUBOOT_SHA512 or MCUBOOT_SIGN_EC384), and MCUBOOT_SIGN_PURE must be off. split_go() is a public API with no caller inside MCUboot; it is invoked from a Mynewt application. In the default SHA-256 build there is no overflow. The over-written bytes are the one-way digest of the loader image and the overflow length is fixed at build time, so the contents are not meaningfully attacker-controlled and the size is not attacker-chosen. The realistic impact is bounded, uncontrolled corruption of the bootloader's stack on the split-boot path, manifesting as instability or failed boot in the affected configuration rather than reliable code execution. The fix is to size loader_hash to IMAGE_HASH_SIZE and pass IMAGE_HASH_SIZE as the matching seed length.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/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 订阅
mcu-tools mcuboot 2.0.0 ~ 2.5.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

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

同批安全公告 · mcu-tools · 2026-11-13 · 共 8 条

CVE-2026-16664 5.1 MEDIUM MCUboot Zephyr 越界读取漏洞
CVE-2026-16659 4.0 MEDIUM MCUboot 加密镜像上传预认证空指针解引用漏洞
CVE-2026-127916 2.9 LOW MCUboot 镜像验证越界读取漏洞
CVE-2026-16662 2.4 LOW MCUboot 未初始化栈信息泄露漏洞
CVE-2026-127915 2.0 LOW MCUboot bootutil TLV越界读取漏洞
CVE-2026-127928 2.0 LOW MCUboot 密钥栈残留漏洞
CVE-2026-128091 2.0 LOW MCUboot TinyCrypt AES-CTR 密钥未清除漏洞

IV. Related Vulnerabilities