Read the docs

MCUboot TLV iterator reads entries without bounds check against TLV area

Priority LOW 10CWE-125Published · Updated

Key facts

Attack vector
Physical
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

MCUboot versions from 0.9.0 before 2.5.0 read TLV entries without checking them against the declared TLV area, so a crafted image can make the TLV iterator read past the end of that area (CWE-125). An attacker who can present an image through DFU, serial recovery or OTA can trigger this before the signature is verified. Default flash builds confine the out-of-region read to the attacker's own slot partition with no observable result, while the non-default MCUBOOT_RAM_LOAD configuration allows a bounded out-of-bounds read.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

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.

Why it matters now

EPSS 0.00146 3rd percentileScored 2026-11-16
Fix Fixed mcuboot (mcu-tools): 2.5.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
mcu-toolsmcuboot0.9.0 to before 2.5.02.5.0Patch availableCNA
  • mcuboot Vendormcu-tools Affected 0.9.0 to before 2.5.0 Fixed in 2.5.0 Patch available CNA

Remediation

Upgrade mcu-tools mcuboot to version 2.5.0 or later, which fixes the iterator by validating each entry against the end of the TLV area.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

  • Fix · CNA mcuboot (mcu-tools) Fixed in 2.5.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    mcu-tools mcuboot 2.5.0

    7 records Highest priority Priority LOW 7 LOW

    Other records, highest priority first

    • TI-2026-91071 NULL pointer dereference in MCUboot serial recovery image uploadPriority LOW 17
    • TI-2026-91078 Out-of-bounds read in MCUboot image hash during validationPriority LOW 13
    • TI-2026-91074 MCUboot split-image out-of-bounds stack write with SHA-384/SHA-512Priority LOW 13

Timeline

  1. 2026-11-13 Threatist record created from CVE-2026-127915

References

  • TI-2024-21755 MCUboot Injection attack of unprotected TLV values CVSS 3.1HIGH 7.7
  • TI-2026-91073 Out-of-bounds read in MCUboot serial recovery image index CVSS 3.1MEDIUM 5.1
  • TI-2026-91071 NULL pointer dereference in MCUboot serial recovery image upload CVSS 3.1MEDIUM 4.0
  • TI-2026-91078 Out-of-bounds read in MCUboot image hash during validation CVSS 3.1LOW 2.9
  • TI-2026-91074 MCUboot split-image out-of-bounds stack write with SHA-384/SHA-512 CVSS 3.1LOW 2.9
  • TI-2026-91072 Uninitialised stack memory leaks into MCUboot measured-boot record CVSS 3.1LOW 2.4
See all 8 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences