Out-of-bounds Flash Erase and Copy Vulnerability in MCUboot
CVE-2026-16666
What is CVE-2026-16666?
This vulnerability in MCUboot occurs during the resume of an interrupted image swap, where the bootloader improperly handles the number of bytes to move from the flash-resident status trailer. Specifically, the bootloader accepts an unvalidated swap_size, which, if manipulated by an attacker through serial recovery, leads to out-of-bounds flash erase or copy operations, potentially rendering devices unbootable or 'bricked'. The vulnerability arises as the bootloader blindly trusts the swap_size, bypassing essential signature verification checks, allowing attackers to take control of the process and exploit the memory. Proper validation and bounding of the trailer's data is essential to mitigate this risk and ensure device integrity.
Affected Version(s)
mcuboot 1.0.0
