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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-16659— MCUboot 加密镜像上传预认证空指针解引用漏洞

一分钟漏洞结论

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

MCUboot 中用于串行恢复(serial-recovery)的图像上传处理函数 (位于 )声明了变量 ,且仅在函数执行中途通过 对其进行赋值。然而,存在两个早期的验证失败分支(均跳转至 ):一是 CBOR map 解码失败,二是上传数据包缺少 或 成员。这些分支会在 仍为 时绕过 调用,直接进入共享的收尾代码段(epilogue)。 在启用 构建配置的版本中,该收尾代码段会无条件地调用 。此调用最终会执行到 和 ,从而对空的 指针进行解引用操作。 漏洞可达性: 该缺陷可在身份验证前被触发。触发条件是在恢复会话开

CVSS 4.0 · Medium EPSS 0.09% · P0

影响版本矩阵 1

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

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

漏洞信息

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

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

Vulnerability Title
Pre-authentication NULL pointer dereference in MCUboot serial-recovery image upload (encrypted-image builds)
来源: CVE Program / CVE List V5
Vulnerability Description
MCUboot's serial-recovery image-upload handler bs_upload() in boot/boot_serial/src/boot_serial.c declares const struct flash_area *fap = NULL and assigns it only via flash_area_open() part-way through the function. Two early validation failures (goto out_invalid_data) — a CBOR map that fails to decode, or an upload packet missing the off/data members — branch past the open while fap is still NULL, then fall into the shared epilogue. In MCUBOOT_ENC_IMAGES builds that epilogue unconditionally calls boot_handle_enc_fw(fap), which reaches boot_image_load_header() and flash_area_read() and dereferences the NULL flash_area. The defect is reachable pre-authentication: the trigger is the very first serial-recovery upload command carrying a malformed payload. The guarding conditions are default-true on a fresh recovery session — img_num, curr_off and img_size are zero-initialized statics, so curr_off == img_size and the primary-slot test both hold. It requires a non-default build: encrypted images (MCUBOOT_ENC_IMAGES / Zephyr CONFIG_BOOT_ENCRYPT_IMAGE) together with an active serial-recovery transport, on the Zephyr or Mynewt port (the two that build both boot/boot_serial/src/boot_serial.c and boot_serial_encryption.c with MCUBOOT_ENC_IMAGES). The impact is a transient denial of service of the bootloader during recovery. fap is a hard NULL rather than an attacker-controlled value, so there is no memory-corruption or information-leak primitive and image authentication is unaffected. Whether the dereference faults is platform-dependent — on targets where address 0x0 is mapped readable flash the read merely returns an error and execution continues, while targets that trap NULL (MPU / null-pointer-exception detection) take a hard fault. Because serial recovery is unauthenticated by design and already permits the console attacker to write the secondary slot, the added capability is only a low-value transient crash. The related unconditional flash_area_close(fap) call in the same epilogue is a safe no-op on the ports that reach it, so it does not contribute to the dereference. The affected ports are the Zephyr port — boot/zephyr/CMakeLists.txt compiles boot_serial.c under CONFIG_MCUBOOT_SERIAL and boot_serial_encryption.c under CONFIG_BOOT_ENCRYPT_IMAGE — and the Mynewt port, whose mcuboot_config.h defines MCUBOOT_SERIAL unconditionally and MCUBOOT_ENC_IMAGES under any BOOTUTIL_ENCRYPT_ syscfg, with boot/boot_serial/pkg.yml declaring no explicit source list so the whole directory is built. The Espressif port is not affected**: it compiles boot_serial.c but not boot_serial_encryption.c, and defines no MCUBOOT_ENC_IMAGES, so the #ifdef MCUBOOT_ENC_IMAGES block containing the call is preprocessed away. The NuttX, Cypress and Mbed ports do not build boot_serial.c at all.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/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 订阅
mcu-tools mcuboot 2.0.0 ~ 2.5.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

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

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

CVE-2026-16664 5.1 MEDIUM MCUboot Zephyr 越界读取漏洞
CVE-2026-127916 2.9 LOW MCUboot 镜像验证越界读取漏洞
CVE-2026-16671 2.9 LOW MCUboot SHA-384/512构建栈越界写入漏洞
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