Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain physical access to affected device
-
ExploitRead device RAM via debug port or retained RAM
-
ExecutionLocate residual AES content key in dead stack memory
-
ImpactDecrypt the protected firmware image plaintext
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V14 - Data Protection Sensitive info in resource not removed before reuse
|
| Exploitation Conditions | Exploitation requires that the target firmware be built with encrypted-image support (MCUBOOT_ENC_IMAGES / Zephyr CONFIG_BOOT_ENCRYPT_IMAGE) combined with serial recovery, on MCUboot versions 1.9.0 through 2.4.0. The key is left on the stack when an encrypted image is uploaded to the primary slot over the serial-recovery protocol (bs_upload -> boot_handle_enc_fw -> decrypt_image_inplace), or when the image list/state is queried while an encrypted image sits in the secondary slot (boot_image_validate_encrypted). The decisive limiting factor is that no recovery-protocol or remote channel returns this memory: the attacker must independently possess a separate memory-read capability - a hardware debug port (e.g. SWD/JTAG) or access to retained/un-cleared RAM across reset - and typically physical access to the device. Recovered material is further limited to a single image's per-build-random AES content key; the long-term private decryption key is not exposed. |
| Impact | All signals converge on low real-world risk, and they are mutually consistent rather than conflicting. The vendor CVSS of 2.0 (CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N) reflects a physical attack vector, high attack complexity, scope-unchanged, and only low confidentiality impact with no integrity or availability impact - i.e. a residual-secret cleanup defect (CWE-226), not a directly exploitable code path. The vuln.today Decision label is 'monitor', the weakest urgency tier, which agrees with the low CVSS. This CVE is not on CISA KEV (no confirmed active exploitation), no EPSS score was supplied, and the original reporter's PoC section was empty, so there is no public exploit identified at time of analysis. Critically, the vulnerability is not self-contained: by the advisory's own statement, 'No remote or recovery-protocol channel that returns this memory is known, so exploitation requires a separate memory-read capability.' The CVSS vector and the description therefore agree - AV:P is justified because recovery of the leaked AES key depends on an out-of-band physical/debug RAM read, not on the recovery protocol itself. The impact is also bounded: a recovered key decrypts only the single, per-build-random AES content key for one image, and the device's long-term private decryption key is explicitly not exposed. Net: this is a genuine but low-priority defensive-depth hardening fix, not a high-CVSS-but-overstated issue - it is correctly rated low and warrants routine patching, not emergency response. |
| Exploit ScenarioDerived | An attacker with physical possession of a device running an affected MCUboot build (encrypted images plus serial recovery) attaches to a debug port, or reads retained/un-cleared RAM after a warm reset, and scans dead stack memory for the per-image AES content key that decrypt_image_inplace() or boot_image_validate_encrypted() left behind. Using that key, the attacker decrypts the corresponding encrypted firmware image to recover its plaintext and any embedded trade secrets. No public exploit code exists, and the attack is only possible because of a pre-existing, separate memory-read capability - the MCUboot flaw itself exposes no remote or protocol-reachable channel to the leaked memory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
MCUboot 1.9.0 through 2.4.0 built with encrypted-image support (MCUBOOT_ENC_IMAGES / Zephyr CONFIG_BOOT_ENCRYPT_IMAGE) together with serial recovery leaves a per-image AES content key in dead stack memory, allowing an attacker who can later read device RAM - via a debug port or retained memory across reset - to recover the key and decrypt protected firmware images. The leak occurs in decrypt_image_inplace() during a primary-slot upload over the recovery protocol and in boot_image_validate_encrypted() when image list or state is queried with an encrypted image in the secondary slot; the stack-local struct boot_status carrying enckey[] is never wiped, and early error returns bypass the boot_enc_zeroize()/expanded-key-context cleanup. The exposure is constrained: no recovery-protocol or remote channel returns this memory (CVSS 3.1 base score 2.0, AV:P/AC:H, C:L, no integrity or availability impact), only the single per-build image content key is exposed rather than the device's long-term private decryption key, and no public exploit has been identified at time of analysis. A vendor fix is available in MCUboot 2.5.0.
RemediationAI
Vendor-released patch: MCUboot 2.5.0, delivered upstream as commit 411949f830724617fbc08b9b32f0a45ba0c80baf (PR #2734) - upgrade any 1.9.0-2.4.0 tree that builds encrypted images with serial recovery, and confirm the release line you track has taken the backport, since lines without it remain affected (advisory: https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-hqmg-jwp9-8cf8). Where updating is not immediately possible, the exposure can be removed by not shipping the combination: dropping MCUBOOT_ENC_IMAGES / CONFIG_BOOT_ENCRYPT_IMAGE from builds that also enable serial recovery, or disabling the serial-recovery upload and image list/state handlers on encrypted-image products, at the cost of losing encrypted-image support or field recovery respectively. Because exploitation additionally requires an independent memory-read path, restricting debug access (disabling or locking SWD/JTAG and enforcing debug authentication on production units) and ensuring RAM is scrubbed on the reset/application hand-off for the platforms in question limit recoverability of the residue, though these are compensating controls rather than a substitute for the fix and depend on SoC and boot-flow support.
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's serial recovery can accept an encrypted firmware image in the primary slot, in which case boot_handle_enc_fw() calls decrypt_image_inplace() (boot/boot_serial/src/boot_serial_encryption.c) to decrypt sectors in place; boot_image_validate_encrypted() performs the analogous validation when the image list or state commands encounter an encrypted secondary-slot image. Both routines keep a stack-local struct boot_status, whose enckey[BOOT_NUM_SLOTS][BOOT_ENC_KEY_ALIGN_SIZE] field (boot/bootutil/src/bootutil_priv.h) is filled by boot_enc_load() with the decrypted raw AES content key before boot_enc_set_key() copies it into the encryption backend's context. This is CWE-226 (sensitive information in resource not removed before reuse): the structure was never cleared on any exit path, and a decrypt failure inside the per-sector loop of decrypt_image_inplace() returned early via FIH_RET, skipping the total_out: cleanup so the expanded AES key schedule (enc_data) also survived on the stack; the error paths of boot_image_validate_encrypted() likewise skipped boot_enc_zeroize(). The flaw is inherited from 953a76180dcc (v1.9.0, originally in boot/zephyr/single_loader.c) and moved unchanged into boot_serial_encryption.c with c9fa60886b39 (v2.0.0); the file is only compiled when CONFIG_BOOT_ENCRYPT_IMAGE is set. The upstream commit 411949f8 routes the error returns through the existing cleanup labels and adds bootutil_wipe_memory(&_bs, sizeof(_bs)) - the volatile wipe helper in boot/bootutil/src/bootutil_misc.c - so the key material no longer persists after return.
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:L/I:N/A:N
AV:P and AC:H because recovery needs a separate physical/debug RAM-read capability the flaw itself does not provide; C:L for one per-image key only; I:N/A:N as no modification or disruption results.
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
In MCUboot's serial-recovery encrypted-image support (boot/boot_serial/src/boot_serial_encryption.c), decrypt_image_inplace() and boot_image_validate_encrypted() each keep a stack-local struct boot_status. boot_enc_load() writes the plaintext per-image AES key into its enckey[] field. Neither function cleared this structure before returning. In addition, a decrypt failure inside the per-sector loop of decrypt_image_inplace() returned early and skipped the total_out: cleanup, which left the expanded AES key context (enc_data) on the stack as well. The error paths of boot_image_validate_encrypted() similarly skipped boot_enc_zeroize().
The affected code is built when encrypted images (MCUBOOT_ENC_IMAGES, Zephyr CONFIG_BOOT_ENCRYPT_IMAGE) are combined with serial recovery. It runs when an encrypted image is uploaded to the primary slot over the recovery protocol, and when the image list or state is queried while an encrypted image is in the secondary slot. After these functions return, the image's AES content key remains in dead stack memory. An attacker who can later read device RAM, for example through a debug port or retained RAM, can recover it.
This weakens the confidentiality of image-encryption keys within the bootloader trust boundary. A recovered key exposes the plaintext of the encrypted firmware image it protects. The device's long-term private decryption key is not exposed. No remote or recovery-protocol channel that returns this memory is known, so exploitation requires a separate memory-read capability.
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
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-124810
NVD
CVE.org
EPSS
GitHub
Exploit-DB