Home › Vulnerabilities › mcu-tools
MCUboot Batch Covers Three Flaws, Two High-Severity, Including Pre-Authentication Stack Write
NVD published three MCUboot advisories on 2026-11-24. The most serious is a pre-authentication out-of-bounds stack write in the encrypted serial-recovery path, with two HIGH-rated issues in total and one LOW-rated issue.
What to look into
- 3 vulnerabilities in mcu-tools mcuboot: 2 high, 1 low (CVSS up to 8.4).
- None of them is known to be exploited yet.
- Start with CVE-2026-16663 (8.4 high): mcu-tools mcuboot Out-of-Bounds Write Vulnerability. An attacker without an account can exploit this with local access, without any user action.
- 0 of 3 can be attacked over the network without logging in.
- Kinds of flaws: Out-of-bounds Write; Improper Check for Unusual or Exceptional Conditions; Uncontrolled Recursion.
Key points
- CVE-2026-16663 (HIGH, CVSS 8.4) is a pre-authentication out-of-bounds stack write in the encrypted serial-recovery path.
- CVE-2026-16665 (HIGH, CVSS 7.4) involves security checks built on assert() that disappear in NDEBUG release builds.
- CVE-2026-16668 (LOW, CVSS 2.4) is unbounded recursion in the vendored zcbor decoder reached from serial-recovery parsing.
- All three are reachable during image upload, before the uploaded image is authenticated, according to the records.
- The records give no fixed version or workaround.
What the batch covers
The three records describe unrelated defects in MCUboot, the bootloader project, and they share one exposure point: the serial-recovery path, which handles image uploads before the uploaded image's signature is checked.
The highest-severity flaw
CVE-2026-16663 (HIGH, CVSS 8.4) is an attacker-controlled out-of-bounds stack write in decryptregioninplace() in boot/bootserial/src/bootserialencryption.c. The routine decrypts an uploaded image one flash sector at a time into a sector-sized stack buffer. For sectors after the first, the write index is computed from the absolute header size instead of the sector-relative offset, so the write can run past the end of the buffer. The records say the code path is reached before authentication and that the index comes from a 16-bit header field in the uploaded image.
Release builds and assert()
CVE-2026-16665 (HIGH, CVSS 7.4) covers several security-critical checks that use assert(). According to the record, these asserts compile to no-ops when NDEBUG is defined, which is typical of release builds, so execution can continue past invariants the code intends to enforce. The worst instance is in swap-resume status handling: when MCUBOOTVALIDATEPRIMARYSLOT is disabled, an inconsistent status should abort but instead continues, and the record says the swapped primary slot may then be used without validation. The record proposes replacing these asserts with fail-closed checks.
Parser recursion
CVE-2026-16668 (LOW, CVSS 2.4) affects the vendored zcbor decoder. Its skip routine recurses once per level of CBOR nesting with no depth cap. The records state that a default 512-byte receive buffer can carry roughly 500 nesting levels, which they say is more than a bootloader stack can absorb. Parsing happens before authentication.
Gaps in the records
The sources do not give a fixed version, a workaround, or detection guidance for any of the three CVEs. Their impact descriptions are also cut off in places, so the full consequences should be checked against the official advisories.
What to do
- Check the MCUboot project's official advisories for fixed versions, since the NVD records here do not name one.
- Prioritise CVE-2026-16663 and CVE-2026-16665, the two HIGH-rated issues, when planning updates.
- Review whether serial recovery is enabled on your devices, since the records place all three flaws on that upload path.
- Confirm whether your production builds define NDEBUG, because the assert-related flaw depends on it.
The 3 vulnerabilities
- CVE-2026-16663 8.4 mcu-tools mcuboot Out-of-Bounds Write Vulnerability
- CVE-2026-16665 7.4 mcu-tools mcuboot: Insecure Assertions Allow Boot Bypass
- CVE-2026-16668 2.4 The vendored zcbor decoder's zcboranyskip() in boot/zcbor/src/zcbordecode.c descends one C-stack frame per level of CBOR nesting. On a list or map it copies the decoder state (memcpy(&statecopy, state, sizeof(zcborstatet))) and recurses on…
Frequently asked questions
How many mcu-tools mcuboot vulnerabilities were published on November 24, 2026?
3 vulnerabilities: 2 high, 1 low, with CVSS scores up to 8.4.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-16663 (CVSS 8.4): mcu-tools mcuboot Out-of-Bounds Write Vulnerability.