# CVE-2026-127915: TLV iterator does not bound each entry against the declared TLV area in MCUboot bootutil

- **Severity:** LOW 2.0
- **CVSS:** 2.0 (v3.1, CNA) `CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Physical; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 5, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2026-11-13T00:23:07.449Z
- **Modified:** 2026-11-24T23:13:17.900Z

## Who should check

- Anyone running mcu-tools mcuboot \>= 0.9.0, \< 2.5.0

## 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.

## Affected and fixed versions

- mcu-tools mcuboot: \>= 0.9.0, \< 2.5.0 (cvelist)

## Mitigation

- Upgrade mcuboot to 2.5.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-127915. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-127915.md
Affected: mcu-tools mcuboot >= 0.9.0, < 2.5.0
Fixed in: mcu-tools mcuboot 2.5.0

Steps:
1. Search this machine and project for mcu-tools mcuboot: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-127915 being exploited?

There is no confirmed exploitation: CVE-2026-127915 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-127915?

Low: CVSS 2.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-127915?

mcu-tools mcuboot \>= 0.9.0, \< 2.5.0.

### Is there a fix for CVE-2026-127915?

Yes. Fixed in mcu-tools mcuboot 2.5.0. Upgrade mcuboot to 2.5.0 or later.

### How do I check if I'm affected by CVE-2026-127915?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-4fp3-3qw2-25jv>
- patch: <https://github.com/mcu-tools/mcuboot/commit/90f4e7c3ebe4cf9a5eb7d981220388ffdefd6d19>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-127915>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-127915> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-127915>
