Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeploy non-default split-image build with SHA-512/SHA-384
-
ExploitMynewt app invokes split_go()/split_image_check()
-
Executionmemcpy overruns 32-byte loader_hash by 16-32 bytes
-
ImpactBootloader stack corrupted, instability or failed boot
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Four build-time preconditions must all hold: (1) the legacy Mynewt split-image feature is compiled in, i.e. neither MCUBOOT_DIRECT_XIP nor MCUBOOT_RAM_LOAD is set so split_go()/split_image_check() exist; (2) the configured digest is larger than 32 bytes - MCUBOOT_SHA512 (64) or MCUBOOT_SIGN_EC384/SHA-384 (48); (3) MCUBOOT_SIGN_PURE is off (the overflowing copy is compiled out under MCUBOOT_SIGN_PURE); and (4) split_go() is actually invoked, which only happens from a Mynewt application since MCUboot has no in-tree caller. The default SHA-256 build has no overflow. Limiting factors: the vector is local/build-config-only (AV:L), triggering requires a non-default build the operator chose, and the overwritten bytes are a fixed-length one-way digest that is neither attacker-controlled in content nor attacker-chosen in size, capping impact at availability. |
| Impact | All decision signals align on LOW priority, and they are mutually consistent rather than conflicting. The input CVSS is 2.9 (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L): local attack vector, high complexity, and availability-only impact (C:N/I:N/A:L) with no scope change - this is a reliability/corruption issue, not a compromise. The vuln.today Decision label is 'monitor', the lowest urgency tier, consistent with the CVSS. KEV status is not present (not actively exploited), no PoC or exploit reference is supplied (only a patch commit and the GHSA advisory), and EPSS is not provided in the input - its absence is a data gap, not evidence of risk either way. The one notable contradiction is the 'RCE' tag: the advisory itself states the overwritten bytes are a one-way digest that is 'not meaningfully attacker-controlled', the overflow length is fixed at build time, and the realistic impact is 'instability or failed boot' 'rather than reliable code execution' - so the 'RCE'/'Buffer Overflow' framing overstates the real-world impact, which the CVSS A:L correctly bounds. Net: this is a genuinely low-risk, non-default-configuration-only defect; treat it as routine patch hygiene, not an emergency. |
| Exploit ScenarioDerived | On a device built in the non-default legacy Mynewt split-image configuration with SHA-512 or SHA-384/EC-P384 signing, a Mynewt application calls the public split_go()/split_image_check() API, which validates the loader image and memcpy's 48 or 64 bytes of digest into a fixed 32-byte stack buffer, overrunning it by 16 or 32 bytes. Because the overwritten bytes are the image's own one-way digest and the length is fixed at compile time, the result is bounded, uncontrolled bootloader stack corruption manifesting as instability or a failed boot, not controllable code execution. No public exploit code is identified, and the local vector plus high complexity (non-default build) further limit practical abuse. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
An out-of-bounds stack write in MCUboot's legacy split-image validation routine (split_image_check() in boot/bootutil/src/loader.c) lets the bootloader copy a 48- or 64-byte image digest into a hard-coded 32-byte stack buffer, corrupting adjacent stack memory on the split-boot path. Affected builds are MCUboot >= 2.0.0 and < 2.5.0, but only when the legacy Mynewt split-image feature is compiled in, the configured digest is SHA-384 or SHA-512, MCUBOOT_SIGN_PURE is disabled, and split_go() is actually invoked by a Mynewt application; the default SHA-256 build has no overflow. Because the overwritten bytes are a fixed-length one-way digest that is neither attacker-controlled in content nor attacker-chosen in size, impact is capped at local availability loss (CVSS 2.9, A:L) - instability or failed boot rather than reliable code execution; no public exploit code or PoC reference was identified at time of analysis, and vendor patched the issue in 2.5.0.
RemediationAI
Upgrade to MCUboot 2.5.0 or later, which sizes loader_hash to IMAGE_HASH_SIZE and passes IMAGE_HASH_SIZE as the matching seed length (upstream commit 9fb70f00173766d73cdadd82266bd61e4ddd0252, merged via PR #2817; advisory GHSA-vj6q-r752-fpqv). Where an immediate upgrade is not possible, the overflow can be removed at build time by any one of several changes, each with a trade-off: build with the default SHA-256 digest (IMAGE_HASH_SIZE = 32), which eliminates the overrun but reduces digest strength relative to SHA-384/512; enable MCUBOOT_SIGN_PURE, which compiles out the overflowing copy in bootutil_img_validate() but changes the signing/verification scheme used by the image; or, if the legacy Mynewt split-image feature is not in use, define MCUBOOT_DIRECT_XIP or MCUBOOT_RAM_LOAD so split_image_check()/split_go() are excluded from the build, which changes the boot mode. Because exposure additionally requires a Mynewt application to call split_go(), auditing for that call is a cheap way to confirm whether a given product is on the vulnerable path; the overwritten bytes are a fixed-length one-way digest, so no data-confidentiality or integrity mitigation is needed beyond fixing the overflow.
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. In the split-image configuration, split_image_check() reads the application header, then calls bootutil_img_validate() to hash the loader image into a caller-supplied out_hash buffer. The buffers and the copy length diverge: split_image_check() declares loader_hash as a fixed uint8_t[32] (tracking the SHA-256 digest size), while bootutil_img_validate() performs memcpy(out_hash, hash, IMAGE_HASH_SIZE) in boot/bootutil/src/image_validate.c, and IMAGE_HASH_SIZE in boot/bootutil/include/bootutil/crypto/sha.h is a compile-time constant of 64 under MCUBOOT_SHA512, 48 under MCUBOOT_SIGN_EC384/SHA-384, and 32 for the default SHA-256. The result is a CWE-787 out-of-bounds write of 16 or 32 bytes past the end of the stack buffer. The regression was introduced by commit 03c9ad07 ("bootutil: Replace hash with SHA384 when P384 is used", first released in v2.0.0), which widened the out_hash write to IMAGE_HASH_SIZE without resizing loader_hash, and extended to 64 bytes by 41df52e6 in v2.2.0 when SHA-512 support landed. Three build-time gates constrain exposure: split_image_check() is only compiled when neither MCUBOOT_DIRECT_XIP nor MCUBOOT_RAM_LOAD is set, the overflowing copy is compiled out entirely under MCUBOOT_SIGN_PURE, and split_go() is a public API (boot/bootutil/include/bootutil/bootutil.h) with no in-tree caller - it is only reached from a Mynewt application using the legacy split-image feature. The overflowing data is a digest of the loader image, so its content is not meaningfully controllable and its length is fixed at build time.
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:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Local build-config-only path (AV:L), non-default SHA-384/512 split-image build raises AC:H, no auth gate described (PR:N), and bounded uncontrolled stack corruption yields A:L with C:N/I:N.
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
split_image_check() in boot/bootutil/src/loader.c declares a fixed uint8_t loader_hash[32] buffer and passes it as the out_hash out-parameter to bootutil_img_validate(). That routine copies IMAGE_HASH_SIZE bytes into out_hash (memcpy(out_hash, hash, IMAGE_HASH_SIZE) in boot/bootutil/src/image_validate.c), where IMAGE_HASH_SIZE is a compile-time constant of 64 for MCUBOOT_SHA512 or 48 for MCUBOOT_SIGN_EC384/SHA-384 (boot/bootutil/include/bootutil/crypto/sha.h). The buffer tracks SHA-256 (32 bytes) while the copy length tracks the configured algorithm, so the write overruns the buffer by 16 or 32 bytes.
The overflow is only present in a non-default configuration: the legacy Mynewt split-image feature must be compiled (split_go()/split_image_check(), i.e. neither MCUBOOT_DIRECT_XIP nor MCUBOOT_RAM_LOAD), the digest must be larger than 32 bytes (MCUBOOT_SHA512 or MCUBOOT_SIGN_EC384), and MCUBOOT_SIGN_PURE must be off. split_go() is a public API with no caller inside MCUboot; it is invoked from a Mynewt application. In the default SHA-256 build there is no overflow.
The over-written bytes are the one-way digest of the loader image and the overflow length is fixed at build time, so the contents are not meaningfully attacker-controlled and the size is not attacker-chosen. The realistic impact is bounded, uncontrolled corruption of the bootloader's stack on the split-boot path, manifesting as instability or failed boot in the affected configuration rather than reliable code execution. The fix is to size loader_hash to IMAGE_HASH_SIZE and pass IMAGE_HASH_SIZE as the matching seed length.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
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-124813
GHSA-6xxp-cfwm-wjvg
NVD
CVE.org
EPSS
Exploit-DB