Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Web

CVE-2026-16665 — mcu-tools mcuboot

High · CVSS 7.4EPSS 0.6% First seen November 24, 2026

One of 3 mcu-tools mcuboot vulnerabilities published together by NVD: our article covers all of them.

WebMalwareVulnerabilities

Research article

mcu-tools mcuboot: Insecure Assertions Allow Boot Bypass

CVECVE-2026-16665
Vendor and productmcu-tools mcuboot
PublishedNovember 26, 2026 02:25 UTC
Research cut-offNovember 26, 2026 02:05 UTC
Sources reviewed3: NVD record (last modified 2026-11-24); CISA KEV catalog; FIRST EPSS (2026-11-25)

Executive summary

CVE-2026-16665 impacts mcu-tools mcuboot versions from 1.1.0 onwards, with a CVSS 3.1 score of 7.4 HIGH, assigned by vulnerabilities@zephyrproject.org. The flaw may allow an attacker to bypass secure boot in release builds under certain conditions, such as when MCUBOOTVALIDATEPRIMARYSLOT is disabled [1]. The reviewed sources do not report exploitation. The sources do not list a fixed version, so the main action is not established by them.

Key points

  • CVE-2026-16665 affects mcu-tools mcuboot versions ≥ 1.1.0 [1].
  • The flaw arises from the use of assert() in security-critical paths that are effectively no-ops in release builds [1].
  • Someone able to modify the swap-status trailer could construct an inconsistent status, which the record says can lead to a primary slot being booted without a signature check [1].
  • The vulnerability violates P1 (image authenticity / secure-boot bypass) and P6 (boot/recovery availability) [1].
  • The reviewed sources do not report exploitation [2].

Vulnerability identification

CVE IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-16665mcu-toolsmcubootCWE-7547.4 HIGH, scored by vulnerabilities@zephyrproject.org2026-11-24T22:18:512026-11-24T22:18:51Received

Vulnerability description

The issue stems from the use of assert() in security-critical areas that are effectively ignored in release builds. This allows an attacker to manipulate the boot process by altering conditions that are not properly validated, potentially leading to insecure boot scenarios [1].

Attack surface and exploitation prerequisites

S1 says the attacker writes through the flash-write boundary via serial-recovery or DFU mechanisms, and the CVSS vector is local (AV:L) [1]. The attacker must be able to influence the guarded condition, which is possible under certain configurations where MCUBOOTVALIDATEPRIMARYSLOT is disabled [1].

Impact analysis

The vulnerability compromises P1 (image authenticity / secure-boot bypass) and P6 (boot/recovery availability). The CVSS vector indicates a high impact on confidentiality, integrity, and availability [1].

Affected products and versions

Affected VersionFixed Version
mcuboot ≥ 1.1.0not listed

Exploitation and threat intelligence status

CVE-2026-16665 is not listed in the CISA KEV catalog as of 2026-11-26. The EPSS score for exploitation in the next 30 days is 0.56% [3].

Detection and exposure assessment

To determine exposure, check if the installed version is ≥ 1.1.0 [1]. No detection steps are provided by the sources.

Remediation

The sources do not list a fixed version. General guidance is to update to a secure version when available.

Remediation checklist

  1. Check if the installed version is ≥ 1.1.0 [1].
  2. Update to a secure version when available.
  3. Monitor for any updates or advisories from the vendor.

Evidence gaps

  • The sources do not describe the affected component's internals.
  • The sources do not mention a workaround.
  • The sources do not provide a complete version range.
  • The sources do not list a fixed version.
  • The sources do not report exploitation.
  • The sources do not give indicators of compromise.

References

  1. CVE-2026-16665 record. NIST National Vulnerability Database (NVD), 2026-11-24. https://nvd.nist.gov/vuln/detail/CVE-2026-16665. Accessed 2026-11-26. Vulnerability identification, Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Affected products and versions, Detection and exposure assessment
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-26. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-26. Exploitation and threat intelligence status
  3. EPSS score for CVE-2026-16665. FIRST, 2026-11-25. https://api.first.org/data/v1/epss?cve=CVE-2026-16665. Accessed 2026-11-26. Exploitation and threat intelligence status

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

Summary MCUboot enforces several security-critical invariants on the boot, image-swap, and validation paths using assert(). In a standard release/production build (NDEBUG defined) assert() expands to a no-op, so an invariant the code intends to halt on instead falls through, and execution continues with the bad or inconsistent state. Where the guarded condition is attacker-influenceable through the flash-write boundary (serial-recovery / DFU), this is a security check that is simply absent in release builds. This is one root cause (assert-as-security-guard, no-op under NDEBUG) with one fix approach (replace the security-critical asserts with real fail-closed checks), so it is filed as a single advisory covering the enumerated sites. Worst reachable instance — inconsistent swap status completes the swap without validation In the swap-resume status read, an inconsistent status (erased_sections > 1) is detected, logged, and — when MCUBOOT_VALIDATE_PRIMARY_SLOT is disabled — is meant to abort, because "there is no way to be sure the swapped primary slot is OK." The abort is assert(0): boot/bootutil/src/swap_move.c:181-194 — if (erased_sections > 1) { ... #if !defined(MCUBOOT_VALIDATE_PRIMARY_SLOT) / ... abort! / assert(0); #endif }, then execution falls through to compute bs->op/idx/state from the inconsistent status (lines 197-208) and return 0 (success). boot/bootutil/src/swap_offset.c:266-280 — identical pattern; falls through to bs->op/idx/state and return 0. boot/bootutil/src/swap_scratch.c:227-241 — same invalid/assert(0) pattern for the scratch backend. Under NDEBUG with primary-slot validation off, the inconsistent status is neither aborted (assert is a no-op) nor re-validated (validation off), so boot_complete_partial_swap() finishes the swap on inconsistent metadata and the primary slot is booted without a signature check. An attacker who can write the swap-status trailer can craft the inconsistent status. Reachability (threat model). Secondary slot + scratch trailers are A2-writable by definition (that is what a DFU upload is). Under MCUBOOT_SERIAL_RECOVERY the primary trailer is A2-writable too: boot/boot_serial/src/boot_serial.c:978 opens flash_area_id_from_multi_image_slot(img_num, 0) (== primary) and writes from offset 0 bounded by area_size, so it can paint the primary swap-status/magic. This is how the A2 (recovery/DFU, unauthenticated by design) attacker influences the guarded condition. Property violated: P1 (image authenticity / secure-boot bypass) when un-revalidated content is booted, and P6 (boot/recovery availability). Second reachable instance — resume-path swap_size from an unguarded trailer boot/bootutil/src/loader.c:1190-1193: the swap resume branch does fap = boot_find_status(...); assert(fap != NULL); rc = boot_read_swap_size(fap, &bs->swap_size); assert(rc == 0);. boot_find_status() (boot/bootutil/src/bootutil_misc.c:166-204) searches {scratch, primary} and, on no-valid-magic-match, returns the last-iterated area (primary), not NULL — so assert(fap != NULL) cannot fire even in debug, and under NDEBUG neither assert fires. swap_size is then read from an A2-writable (serial-recovery primary, or scratch) trailer with no fail-closed handling. This is the same swap-metadata-trust family as the recorded resume/swap_size disclosure. Reachable-security sites (center the fix here) 1. boot/bootutil/src/swap_move.c:193 — inconsistent-status assert(0), falls through to complete swap. A2 + !VALIDATE_PRIMARY. [worst] 2. boot/bootutil/src/swap_offset.c:278 — same, swap-offset backend. 3. boot/bootutil/src/swap_scratch.c:239 — same, swap-scratch backend. 4. boot/bootutil/src/loader.c:1191 and :1193 — resume assert(fap != NULL) / assert(rc == 0) guarding swap_size read from an A2-writable trailer; compounded by boot_find_status() never returning NULL. (Truncated. The full description is in the advisory: https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-cr9j-p626-pwcc)

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.4 CVSS 3.1 base score from the CNA (zephyrproject.org)

An attacker without an account can exploit this with local access, without any user action, but only under specific conditions.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
high (only works under specific conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on confidentiality, integrity and availability

Vector CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness

  • CWE-754: Improper Check for Unusual or Exceptional Conditions

Affected and fixed versions

ProductAffected versionsFixed in
mcu-tools mcuboot≥ 1.1.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

+3 more on the NVD record.

Details from NVD (public domain).

Affected

  • mcu-tools mcuboot

Frequently asked questions

What is CVE-2026-16665?

CVE-2026-16665 impacts mcu-tools mcuboot versions from 1.1.0 onwards, with a CVSS 3.1 score of 7.4 HIGH, assigned by vulnerabilities@zephyrproject.org. The flaw may allow an attacker to bypass secure boot in release builds under certain conditions, such as when MCUBOOTVALIDATEPRIMARYSLOT is disabled. The reviewed sources do not report exploitation. Weakness type: Improper Check for Unusual or Exceptional Conditions (CWE-754).

How severe is CVE-2026-16665?

CVE-2026-16665 has a CVSS 3.1 base score of 7.4 (high), from the CNA (zephyrproject.org). An attacker without an account can exploit this with local access, without any user action, but only under specific conditions.

Is CVE-2026-16665 being exploited?

Not as far as is known: CVE-2026-16665 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-16665?

mcu-tools mcuboot ≥ 1.1.0.

How do I fix CVE-2026-16665?

Check if the installed version is ≥ 1.1.0. Update to a secure version when available. Monitor for any updates or advisories from the vendor.

Timeline & sources

References

Related vulnerabilities & news