Skip to content
RedCVE

CVE-2026-127915Mcu Tools Mcuboot out-of-bounds read

mcu-toolsPublished:

CVSS score

2.0

Low

CVSS 3.1 from zephyrproject.org

Exploit probability (EPSS)

0.15%

0.15% chance of exploitation in the next 30 days, higher than 3.79% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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.

Source: NVD · CNA: vulnerabilities@zephyrproject.org

How to fix it, step by step

  1. Check whether you're affected

    Find every system running mcu-tools Mcuboot and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Mcuboot to 2.5.0 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Physical
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

Affected productsVersions
mcu-tools Mcuboot≥ 0.9.0, < 2.5.0

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-127915 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-127915?

CVE-2026-127915 has a CVSS 3.1 base score of 2.0 (low).

Which versions are affected?

Mcu Tools Mcuboot (≥ 0.9.0, < 2.5.0)

Is there a patch for CVE-2026-127915?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.