CVE-2026-127915: falha de baixa gravidade em mcu-tools mcuboot
TLV iterator does not bound each entry against the declared TLV area in MCUboot bootutil
Publicada em · Atualizada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
8Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 2epss 0.1%
The MCUboot TLV iterator bootutil_tlv_iter_next() in boot/bootutil/src/tlv.c walks image trailer TLVs with a single loop guard (it->tlv_off < it->tlv_end) and advances by sizeof(struct image_tlv) + tlv.it_len using the attacker-controlled it_len field, without validating that the entry's header or payload stays within it->tlv_end. As a result the 4-byte header read can extend up to 3 bytes past the declared TLV area, and the returned (off, len) can describe a payload that runs past it.
The path is pre-authentication: TLVs are parsed during bootutil_img_validate() before the signature is verified, and a crafted image can be presented through DFU / serial-recovery / OTA. However the impact is contained by surrounding guards: bootutil_img_validate() first rejects a TLV area larger than bootutil_max_image_size(), the default LOAD_IMAGE_DATA sink is flash_area_read() which bounds-checks against the flash partition and fails an out-of-partition read, and every payload consumer (EXPECTED_HASH_TLV, EXPECTED_KEY_TLV, EXPECTED_SIG_TLV, IMAGE_TLV_SEC_CNT) clamps len against a fixed buffer before copying.
The residual effect in a default flash build is therefore an out-of-region read confined to the attacker's own slot partition whose result is never observable, yielding at worst a clean validation failure rather than memory corruption or information disclosure. A genuine (though still bounded) out-of-bounds read remains under the non-default MCUBOOT_RAM_LOAD configuration, where LOAD_IMAGE_DATA is an unchecked memcpy. The fix is to validate each entry's header and payload against it->tlv_end inside the iterator.
CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Produtos afetados
mcu-tools · mcubootCVEs relacionadas — mcu-tools mcuboot
No mesmo produto, das mais perigosas para as menos.
CVE-2026-16662LOWUninitialised bootloader stack disclosed into the measured-boot attestation record via a short EXPECTED_HASH TLV in MCUbootEPSS 0.1%CVE-2024-32883HIGHMCUboot Injection attack of unprotected TLV valuesEPSS 0.1%CVE-2026-16664MEDIUMUnchecked serial-recovery image index causes out-of-bounds slot-table read in MCUboot Zephyr portEPSS 0.1%CVE-2026-127916LOWMCUboot image hash span is not bounded against the slot, allowing a read past the flash area during image validationEPSS 0.1%CVE-2026-16671LOWOut-of-bounds stack write in MCUboot split-image validation with SHA-384/SHA-512 buildsEPSS 0.1%CVE-2026-16659MEDIUMPre-authentication NULL pointer dereference in MCUboot serial-recovery image upload (encrypted-image builds)EPSS 0.1%