Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted image via DFU/OTA
-
DeliverySet TLV it_len out of bounds
-
ExploitPre-auth TLV parse in bootutil_img_validate
-
ExecutionIterator returns OOB (off,len)
-
ImpactBounded 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
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.
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Related Vulnerabilities in MCUboot Memory Safety and Crypto Flaws
View all 8Pre-authentication stack memory corruption in MCUboot's encrypted serial-recovery upload path (versions 1.9.0 through 2.
MCUboot 1.1.0 and later can be driven to boot un-revalidated firmware in the primary slot because security-critical inva
Unbounded CBOR recursion in MCUboot's serial-recovery command parser lets an unauthenticated party crash or hang a devic
EUVD-2026-124791
NVD
CVE.org
EPSS
GitHub
Exploit-DB