Stack Overflow Vulnerability in MCUBOOT Due to Unbounded CBOR Recursion
CVE-2026-16668

2.4LOW

Key Information:

Vendor

Mcu-tools

Status
Vendor
CVE Published:
24 November 2026

What is CVE-2026-16668?

The MCUBOOT bootloader contains a vulnerability in the zcbor decoder that allows for unbounded recursion during the processing of CBOR encoded data. Specifically, the function zcbor_any_skip() can descend into multiple layers of nesting in lists or maps without a depth restriction, creating a risk of stack overflow. This can lead to device faults or hangs during recovery modes, particularly in systems where the serial recovery command parser is enabled. The issue arises when attacker-controlled CBOR bytes trigger deep recursion levels during image uploads, compromising device availability. Proper mitigation strategies involve implementing a depth counter or bounding the number of allowable nesting levels to prevent potential exploits.

Affected Version(s)

mcuboot 2.0.0 < 2.5.1

References

CVSS V3.1

Score:
2.4
Severity:
LOW
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Physical
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.