patchminder
Proof of concept · GitHub CVE-2026-16668

Denial of servicein mcu-tools mcuboot.

Published 24 Nov 2026 · Updated 2 Dec 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Low 2.4
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.6% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.5.1 or later
In plain words

The vendored zcbor decoder's zcbor_any_skip() in boot/zcbor/src/zcbor_decode.c descends one C-stack frame per level of CBOR nesting. On a list or map it copies the decoder state (memcpy(&state_copy, state, sizeof(zcbor_state_t))) and recurses once per member, with no depth cap: the skip path does not use zcbor's backup stack, and ZCBOR_MAX_ELEM_COUNT is SIZE_MAX, so nothing bounds how deep the recursion goes. That function is reached on attacker-controlled bytes before any authentication. MCUboot's serial-recovery command parser decodes SMP/CBOR requests with zcbor_map_decode_bulk() (boot/boot_serial/src/zcbor_bulk.c), which skips any map key it does not recognise by calling zcbor_any_skip() on the encoded value; the echo handler in boot/boot_serial/src/boot_serial.c calls it directly on the same footing. Both run during image upload, long before the uploaded image's signature is checked.

What to do now
  • Upgrade mcuboot to 2.5.1 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
mcuboot
2.0.0 to before 2.5.1
2.5.1
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 22 Jul 2026
    CVE ID reserved by zephyr.
  2. 24 Nov 2026
    Published in the CVE List.
  3. 25 Nov 2026
    First public proof of concept on GitHub.
  4. 2 Dec 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundgooglesky/CVE-2026-166680 stars · created 25 Nov 2026MCUboot before 1b9d870: vendored zcbor_any_skip recurses through nested CBOR without a bound · stack exhaustion. Verbatim depth guard: RecursionError on vuln, ZCBOR_ERR_MAX_DEPTH on fixed

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other mcuboot vulnerabilities

Same weakness: Uncontrolled recursion

All CWE-674 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-16668: Denial of service in mcu-tools mcuboot. https://patchminder.com/cve/cve-2026-16668/ (accessed 5 December 2026).