Skip to main content

MCUboot CVE-2026-127915

| EUVDEUVD-2026-124791 LOW
Out-of-bounds Read (CWE-125)
2026-11-13 zephyr
2.0
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted image via DFU/OTA
  2. Delivery
    Set TLV it_len out of bounds
  3. Exploit
    Pre-auth TLV parse in bootutil_img_validate
  4. Execution
    Iterator returns OOB (off,len)
  5. Impact
    Bounded out-of-bounds flash/RAM read

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

A genuine out-of-bounds read requires the non-default MCUBOOT_RAM_LOAD configuration, where LOAD_IMAGE_DATA is an unchecked memcpy; in the default flash build flash_area_read() bounds-checks against the partition and each consumer (EXPECTED_HASH_TLV, EXPECTED_KEY_TLV, EXPECTED_SIG_TLV, IMAGE_TLV_SEC_CNT) clamps the returned len against a fixed buffer, so the over-read is confined to the attacker's own slot and never observable (clean validation failure). The attacker must be able to deliver a crafted firmware image through the device's update path (DFU, serial recovery, or OTA); the flaw is reachable pre-authentication because TLVs are parsed before signature verification. Limiting factors: default flash builds neutralize observable impact, the TLV area is first rejected if larger than bootutil_max_image_size(), and the GHSA's claimed path to reading cryptographic material depends on configuration and chaining with other flaws rather than a standalone disclosure. Affects MCUboot >=0.9.0 and <2.5.0.

Impact

This is a low-priority issue despite being pre-authentication, and the signals mostly agree on that. The vendor CVSS of 2.0 (CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L) reflects that the TLV iterator over-read in bootutil_tlv_iter_next() is heavily contained: in a default flash build the CVE analysis states bootutil_img_validate() rejects oversized TLV areas, the LOAD_IMAGE_DATA sink is flash_area_read() which bounds-checks against the partition, and every payload consumer clamps len against a fixed buffer, so the net effect is an unobservable out-of-region read confined to the attacker's own slot, ending in a clean validation failure rather than corruption or disclosure. The vuln.today Decision label is 'monitor', consistent with that. However, the signals conflict on scope and vector: the CVSS uses AV:P (physical) and only A:L with C:N/I:N, while both the CVE description and the GHSA advisory describe delivery via DFU / serial-recovery / OTA (which includes remote/network paths) and the GHSA claims the unchecked *len (up to 65535 bytes) reaches cryptographic consumers in ALL builds and could contribute to a signature-verification bypass when combined with other flaws. These framings are not reconciled in the input: the CVE analysis says a genuine out-of-bounds read remains only under the non-default MCUBOOT_RAM_LOAD build (unchecked memcpy), whereas the GHSA asserts all configurations are affected - verify which framing applies to your build. No CISA KEV listing and no EPSS score are provided, so there is no evidence of active exploitation; a public PoC reference exists in the advisory but is a demonstrator of the over-read, not confirmed weaponized exploit code. Net: real but low-urgency; patch during normal maintenance, prioritizing devices built with MCUBOOT_RAM_LOAD.

Exploit ScenarioDerived

An attacker able to present a crafted firmware image through DFU, serial recovery, or OTA sets a TLV it_len field to a large value (e.g. 0xFFFF); because TLVs are parsed in bootutil_img_validate() before the signature is checked, the iterator advances past tlv_end and returns an out-of-bounds (off, len) pair. In a default flash build this is caught by flash_area_read bounds checks and buffer clamps and merely yields a validation failure, but under the non-default MCUBOOT_RAM_LOAD configuration the unchecked memcpy performs a genuine bounded out-of-bounds read. A public PoC reference in the GHSA advisory demonstrates the iterator overshoot; it is not verified as working end-to-end exploit code.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

An out-of-bounds flash read in MCUboot's TLV iterator, bootutil_tlv_iter_next(), lets a crafted firmware image drive the parser past the declared TLV area, but the observable impact is small: a default flash build only produces a clean validation failure. MCUboot versions from 0.9.0 up to (but not including) 2.5.0 are affected, and the path is reachable pre-authentication because image TLVs are parsed in bootutil_img_validate() before the signature is verified, with a crafted image delivered through DFU, serial recovery or OTA. A genuine though bounded over-read remains only under the non-default MCUBOOT_RAM_LOAD configuration, where LOAD_IMAGE_DATA is an unchecked memcpy; a public PoC reference exists (it is not verified as working exploit code), no confirmed active exploitation (CISA KEV) is recorded, and the issue is rated low severity.

RemediationAI

Vendor-released patch: 2.5.0, which contains upstream commit 90f4e7c3ebe4cf9a5eb7d981220388ffdefd6d19 (PR #2733) that validates each entry's 4-byte header and its it_len payload against the section end inside bootutil_tlv_iter_next(), including the protected-area bound, before returning (off, len) or advancing the iterator; upgrade any MCUboot 0.9.0 through 2.4.x build to 2.5.0 and see the advisory at https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-4fp3-3qw2-25jv and the commit at https://github.com/mcu-tools/mcuboot/commit/90f4e7c3ebe4cf9a5eb7d981220388ffdefd6d19. Where an immediate upgrade is not possible, the practical exposure reduction is to avoid the non-default MCUBOOT_RAM_LOAD configuration, since the default flash build routes LOAD_IMAGE_DATA through flash_area_read(), which bounds-checks against the flash partition, and each payload consumer already clamps len against a fixed buffer, so an over-read stays inside the attacker's own slot and surfaces only as a failed validation; the trade-off is that RAM loading is used to avoid executing image data in place, so removing it changes boot memory behaviour and must be tested per target. Because the trigger requires delivering a crafted image through DFU, serial recovery or OTA before signature verification, limiting which of those update interfaces are enabled or physically reachable on a device reduces the attack surface, at the cost of losing recovery or field-update paths.

Affected VersionsENISA

mcuboot 0.9.0 <2.5.0

Affected Packages

euvd mcuboot fix: 2.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MCUboot is a secure bootloader for 32-bit microcontrollers that stores image metadata in a TLV area in the image trailer. Each entry begins with a 4-byte struct image_tlv header (type and length fields) followed by a payload, and bootutil_tlv_iter_next() in boot/bootutil/src/tlv.c walks these entries using a single loop guard, it->tlv_off < it->tlv_end, advancing by sizeof(struct image_tlv) + tlv.it_len where it_len is a uint16_t read directly from flash and is attacker-controlled in a crafted image. Because neither the header nor the payload is validated against it->tlv_end before the advance and before *off/*len are returned, the 4-byte header read can extend up to 3 bytes past the declared TLV area and the returned (off, len) pair can describe a payload that runs past it; this is CWE-125, an out-of-bounds read. The path is pre-authentication: TLVs are parsed during bootutil_img_validate() before signature verification. Several surrounding guards contain the effect in the default flash build, including rejection of a TLV area larger than bootutil_max_image_size(), a LOAD_IMAGE_DATA sink that resolves to flash_area_read() and fails an out-of-partition read, and per-consumer clamping of len against fixed buffers in the EXPECTED_HASH_TLV, EXPECTED_KEY_TLV, EXPECTED_SIG_TLV and IMAGE_TLV_SEC_CNT handlers. The unchecked memcpy used when MCUBOOT_RAM_LOAD is defined is what leaves a real, bounded out-of-bounds read, and the GHSA's stronger claim of reading cryptographic material depends on configuration and on chaining with other flaws rather than being a standalone disclosure.

Know when Mcuboot gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (zephyr) PRIMARY 2.0 LOW
AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 2.9 LOW

Crafted image delivered through a local update interface (AV:L); a genuine OOB read exists only in the non-default RAM_LOAD build so AC:H; parsing is pre-signature so PR:N; impact is a bounded read with no observable disclosure in default builds, hence C:N/I:N/A:L.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:L/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

Attack Vector
Physical
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
widely used embedded secure bootloader (Zephyr/IoT), but device-class-specific footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy