CVE-2026-16668: boot/zcbor/src/zcbor_decode.c descends one C-stack · vendored zcbor decoder's zcbor_any_skip()
Source GCVE Database
Not known to be exploited · CVSS 2.4 Low : upgrade to 2.5.1 when convenient.
Data as of 25 Nov 2026, 01:25 UTC
Thin evidence
One scorer or none| CNA (zephyr) | CVSS 3.1 | 2.4 |
|---|
- Patch
- Available – fixed in 2.5.1
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 24 Nov 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 24 Nov 2026.
What to do
Upgrade mcuboot to 2.5.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| mcu-toolsmcuboot | Affected
| Fixed in
|
GitHubmcubootpkg:github/mcubootOther 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
The fix is to implement a recursion depth limit in the zcbor_any_skip() function or have zcbor_map_decode_bulk() reject CBOR values nested beyond a small constant. This prevents unbounded recursion and stack overflow. Since MCUBOOT_SERIAL is not enabled by default and recovery entry is usually gated by a physical pin, ensure these configurations are not exposed externally if not needed. No other immediate action is required if the fix is applied or if the serial recovery interface is not exposed.
Description
CVE-2026-16668 is a low-severity vulnerability in the vendored zcbor decoder used by MCUboot's serial recovery command parser. The function zcbor_any_skip() recursively descends one C-stack frame per level of CBOR nesting without a depth limit, allowing an attacker to cause a stack overflow by sending deeply nested CBOR data. This occurs before any authentication and can cause the bootloader to fault or hang during recovery, resulting in a denial of service. The vulnerability requires MCUBOOT_SERIAL to be enabled and recovery entry to be accessible, which is not the default configuration. The fix involves bounding the recursion depth to prevent stack exhaustion.