CVE-2026-127915
Last modified
CVE-2026-127915 is a low-severity vulnerability rated 2/10 on the CVSS scale. 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. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| mcu-tools | mcuboot | >= 0.9.0, < 2.5.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-127915?
How severe is CVE-2026-127915?
How do I fix CVE-2026-127915?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12784A weakness has been identified in IM-Magic Partition Resizer…7.8
- CVE-2026-12786A vulnerability has been found in Ezbsystems UltraISO Premiu…7.8
- CVE-2026-12787A vulnerability was found in zhilink 智互联(深圳)科技有限公司 ADP Appli…6.3
- CVE-2026-12788A vulnerability was determined in zhilink 智互联(深圳)科技有限公司 ADP …6.3
- CVE-2026-12789A vulnerability was identified in ILIAS Learning Management …4.7
- CVE-2026-1279The Employee Directory plugin for WordPress is vulnerable to…6.4
- CVE-2026-127916bootutil_img_hash() computes the image digest over ih_hdr_si…2.9
- CVE-2026-127928In MCUboot's serial-recovery encrypted-image support (boot/b…2
- CVE-2026-12793The JetFormBuilder — Dynamic Blocks Form Builder plugin for …9.8
- CVE-2026-12795A vulnerability was determined in BerriAI litellm up to 1.82…7.3
- CVE-2026-12796A vulnerability was identified in BerriAI litellm up to 1.82…6.3
- CVE-2026-12797A security flaw has been discovered in BerriAI litellm up to…6.3
Are you affected by CVE-2026-127915?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
