MCUboot's PSoC6 backend checks the wrong flash boundary
A bounds-check bug in MCUboot's Cypress/PSoC6 flash backend can turn a malformed update image into a bootloader crash. CVE-2026-16667 is a moderate availability issue. The code compares an area-relative offset with fa_off , the partition's absolute base address, instead of fa_size , the partition length. In debug builds the assert can pass for an offset outside the partition; under NDEBUG , the assert is removed.
During pre-authentication image validation, bootutil_img_hash() reads sizes from the still-unverified image header. A crafted secondary-slot image can declare a large image size and cause reads far beyond the intended flash region. The Cypress backend is supposed to reject that access and make validation fail cleanly.…