Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.
Resumen
CVE-2026-16665: vulnerabilidad de severidad alta (CVSS 7.4) en mcu-tools mcuboot.
Qué ocurre
Descripción original de la fuente (en inglés): 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 with the bad or inconsistent state. Where the guarded condition is attacker-influenceable through the flash-write boundary (serial-recovery / DFU), this is a security check that is simply absent in release builds. This is one root cause (assert-as-security-guard, no-op under NDEBUG) with one fix approach (replace the security-critical asserts with real fail-closed checks), so it is filed as a single advisory covering the enumerated sites. Worst reachable instance — inconsistent swap status completes the swap without validation In the swap-resume status read, an inconsistent status (erased_sections > 1) is detected, logged, and — when MCUBOOT_VALIDATE_PRIMARY_SLOT is disabled — is meant to abort, because "there is no way to be sure the swapped primary slot is OK." The abort is assert(0): boot/bootutil/src/swap_move.c:181-194 — if (erased_sections > 1) { ... #if !defined(MCUBOOT_VALIDATE_PRIMARY_SLOT) / ... abort! / assert(0); #endif }, then execution falls through to compute bs->op/idx/state from the inconsistent status (lines 197-208) and return 0 (success). boot/bootutil/src/swap_offset.c:266-280 — identical pattern; falls through to bs->op/idx/state and return 0. boot/bootutil/src/swap_scratch.c:227-241 — same invalid/assert(0) pattern for the scratch backend. Under NDEBUG with primary-slot validation off, the inconsistent status is neither aborted (assert is a no-op) nor re…
Por qué importa
Severidad alta, CVSS 7.4.
Productos y versiones afectados
mcu-tools mcuboot 1.1.0
| Producto | Versiones | Corregido en |
|---|---|---|
| mcu-tools mcuboot | 1.1.0 | — |
Acción recomendada por la fuente
Consultá las referencias oficiales para conocer la corrección o mitigación.
Fuentes y referencias
- https://github.com/mcu-tools/mcuboot/commit/36e56d691f4e853f2f741309751b9611689f4197 — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/43dc9d0d97656f1c08b2ffef2f0a3c1db62cba7e — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/e0872142b9d734c116b0ed7b35657dc933c3888b — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/e52ced626dd0391a0b7f175adf84b748b8db8795 — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/3b9159e1e04c6a09c691bdf9140bf303e3718c68 — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/2d74b30860ac97f764367f3a66dc3b274a672244 — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/133148bd5d792f781b72b8fce933ab9117780978 — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/442c86b2131c119aab06ad4dde18ec62954d2808 — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/9365411227c79a944ee72407e51a07320489e424 — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/8e8ce11487c83975755b6ddcad69f4f42ee28977 — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/18c4f19e2e0e457b86bd37274a2fef4c3e6d2850 — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/ec006b882ce618e01e7bbddcb2e5e12cb6987e0a — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/4d9424a747de9c5e74be601aebee5239e371e21c — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/adc0e42effb9422659c9d2d63399cdce1f297648 — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/b0047116aa2a2cfb18f3f1bc2bd286217bc22e5c — CVE Program
- https://github.com/mcu-tools/mcuboot/commit/ab3fd3d4d563e57303fd0720bc0f0a93f5c619d0 — CVE Program
- https://github.com/mcu-tools/mcuboot/pull/3012 — CVE Program
- https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-cr9j-p626-pwcc — CVE Program
Debilidades (CWE): CWE-754
Historial de cambios relevantes
Publicado
Aviso preliminar publicado.