Menu

MCUboot's PSoC6 backend checks the wrong flash boundary
📰

MCUboot's PSoC6 backend checks the wrong flash boundary

DEV Community: cybersecurity·yutianle·9 days ago
#Ep0uV9ws
Long article (698 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.