CVE-2026-16666 is a vulnerability in MCUboot's image swap resume process where an attacker can cause an out-of-bounds flash erase or copy operation or trigger a non-terminating loop in the bootloader. This occurs because the swap_size value read from the flash-resident status trailer during resume is not properly validated or bounded, allowing an attacker controlling the trailer via serial recovery to specify an oversized swap_size. This can lead to bootloader memory corruption and an unbootable or bricked device. The vulnerability requires a swap-based update backend with serial recovery enabled. The fix involves validating and bounding the swap_size before use.