home / blog

2026-11-25 · high

CVE-2026-16665: MCUboot Secure Boot Bypass Vulnerability

CVE-2026-16665: High severity in MCUboot bypasses swap auth checks via disabled assert() in release builds.

CVE-2026-16665: MCUboot Secure Boot Bypass Vulnerability

CVE-2026-16665 is a high severity vulnerability in MCUboot, a bootloader for microcontrollers. The issue lies in the use of assert() functions that are excluded in release builds (with NDEBUG defined), allowing an attacker to manipulate the swap state and bypass image authentication checks.

Severity is confirmed with a CVSS score of 7.4. The vulnerability has been identified in specific source code locations such as swap_move.c, swap_offset.c, swap_scratch.c, and loader.c. Signals from GitHub confirm the issue's existence and indicate the fix in commit 18c4f19e, which replaces critical asserts with real fail-closed checks.

For defense, companies using MCUboot should immediately update to the patched version and verify that production builds include appropriate security checks, even in non-debug mode. It's also important to implement additional controls during DFU/serial recovery processes to prevent swap state manipulation.

At a glance

What
Vulnerability in MCUboot causing secure boot bypass through disabled asserts in release builds
Severity
High (CVSS 7.4)
Affected versions
MCUboot versions prior to commit 18c4f19e
Fix
Update to MCUboot version after commit 18c4f19e
Status
Vulnerability confirmed, patch available
Action
Apply patch and verify production builds

Sources: NVD, CVE-2026-16665

← All articles