CVEBrief

Home / mcu-tools / mcuboot / CVE-2026-16668

CVE-2026-16668: is it exploited, and which versions of mcu-tools mcuboot are affected and fixed?

CVE-2026-16668 is an uncontrolled recursion vulnerability in mcu-tools mcuboot. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: mcuboot from 2.0.0 before 2.5.1 (CVE record by zephyr). Fixed in 2.5.1 (CVE record by zephyr). Severity: Low (2.4, CVSS 3.1, from zephyr).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record December 2, 2026, 13:47 UTC and NVD December 2, 2026, 15:13 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:38 UTC
Affected
mcuboot from 2.0.0 before 2.5.1
CVE record by zephyr
Fixed in
2.5.1
CVE record by zephyr
Severity
Low 2.4
CVSS 3.1 from zephyr
Exploit odds (EPSS)
0.61% in 30 days
higher than 51% of CVEs; FIRST, December 2, 2026

What is CVE-2026-16668?

Unbounded CBOR recursion in MCUboot serial recovery allows pre-authentication stack exhaustion

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. The default receive buffer is MCUBOOT_SERIAL_MAX_RECEIVE_SIZE = 512 bytes and each nesting level costs a single byte to encode (0x81), so roughly 500 levels of nesting fit in one request — comfortably more than a bootloader's stack can absorb, since every frame carries a full zcbor_state_t copy plus locals. The impact is availability only: the bootloader's stack overflows and the device faults or hangs during recovery. There is no controlled out-of-bounds write that escapes the DFU buffer, no disclosure, and no authentication bypass — the recursion grows the stack with the decoder's own internal state. Whether a given board actually exhausts its stack depends on that board's bootloader stack size, which we did not measure; the fix is nevertheless unconditional, because an unauthenticated pre-authentication code path must not have its safety depend on a per-board stack margin. Exposure requires MCUBOOT_SERIAL (serial/SMP recovery), which is not enabled by default, and recovery entry is normally gated on a physical pin (CONFIG_BOOT_SERIAL_ENTRANCE_GPIO / PIN_RESET), with a no-valid-image fallback path. Products that expose serial recovery over an externally reachable transport, or that fall into recovery when no valid image is present, are the ones at risk. The fix is to bound the skip: thread a recursion-depth counter through zcbor_any_skip() (or have zcbor_map_decode_bulk() reject values nested beyond a small constant) and fail once the limit is exceeded — equivalently, take the bounded-skip implementation from upstream zcbor.

From the CVE record by zephyr, last updated December 2, 2026, 13:46 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
mcu-toolsmcubootfrom 2.0.0 before 2.5.12.5.1

As the CVE record by zephyr states it, last updated December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2026-16668?

ScoreVersionVectorSource
Low 2.4CVSS 3.1CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Lzephyr

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-16668 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 2, 2026)
EPSS
0.61% probability of exploitation activity in the next 30 days, percentile 50.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
July 22, 2026
Published
November 24, 2026, 22:39 UTC
CVE record updated
December 2, 2026, 13:46 UTC by zephyr
NVD
Awaiting Analysis, last modified December 2, 2026, 14:17 UTC
Last checked
CVE list December 2, 2026, 13:47 UTC; NVD December 2, 2026, 15:13 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect mcuboot?

Every CVE in mcuboot

Questions about CVE-2026-16668

Is CVE-2026-16668 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.61% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of mcu-tools mcuboot are affected by CVE-2026-16668?

mcuboot from 2.0.0 before 2.5.1, per the CVE record by zephyr. The tables above give every range the sources list.

Which version fixes CVE-2026-16668?

2.5.1, per the CVE record by zephyr. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-16668?

Low (2.4, CVSS 3.1, from zephyr). The severity table above shows each score with its source.

Where is the official record of CVE-2026-16668?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.