3 matches found
CVE-2026-16665 MCUboot uses assert() as a security guard on the boot/swap/validation path; under NDEBUG (release builds) these checks are compiled out, so an inconsistent/attacker-influenced swap status is not aborted and the swap completes on bad state
Summary MCUboot enforces several security-critical invariants on the boot, image-swap, and validation paths using assert. In a standard release/production build NDEBUG defined assert expands to a no-op, so an invariant the code intends to halt on instead falls through, and execution continues wit...
CVE-2026-16665
The MCUboot bootloader contains a security flaw where security-critical invariants are enforced using assert(). In production builds where NDEBUG is defined, these assertions are compiled as no-ops, allowing execution to proceed with inconsistent states. Specifically, if an attacker influences th...
CVE-2026-16662 Uninitialised bootloader stack disclosed into the measured-boot attestation record via a short EXPECTED_HASH TLV in MCUboot
bootsavebootstatus in boot/bootutil/src/bootrecord.c reads the image's EXPECTEDHASHTLV into a stack buffer imagehashIMAGEHASHSIZE that is never zero-initialised. The TLV handler validates only the upper bound len sizeofimagehash and then reads exactly len bytes, so a TLV shorter than IMAGEHASHSIZ...