Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain debug/RAM or post-boot code access
-
DeliveryTrigger or await encrypted single-image upgrade
-
ExploitRead leftover boot_data RAM
-
ExecutionExtract AES-128 round-0 key
-
ImpactDecrypt encrypted image content
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V14 - Data Protection Sensitive info in resource not removed before reuse
|
| Exploitation Conditions | Exploitable only when MCUboot is built with the TinyCrypt backend (MCUBOOT_USE_TINYCRYPT) AND image encryption enabled (MCUBOOT_ENC_IMAGES), in a single-image configuration where boot_enc_zeroize() is not invoked, and specifically after an encrypted upgrade has run. The attacker must additionally be able to read the bootloader's leftover RAM after boot hand-off - via physical debug (JTAG/SWD) or RAM-dump access, or via code that later executes on the device. Limiting factors: mbedTLS and PSA backends are not affected (they free/destroy key state); multi-image and serial-recovery paths call boot_enc_zeroize() and are not affected; exploitation requires physical or local post-boot access (no network vector); and only the single affected image's content key is recoverable - the long-term private decryption key and image authenticity are not impacted. |
| Impact | This is a genuinely low-priority issue, and the signals are consistent rather than conflicting. The CVSS 3.1 vector (AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N, base 2.0) describes a physical-access, high-complexity, limited-confidentiality flaw with no integrity or availability impact, and the vuln.today decision label is 'monitor' - all pointing the same direction. No EPSS score was supplied and the CVE is not on CISA KEV, so there is no evidence of active exploitation; no exploit reference is present either (the two references are the fix commit and the GHSA advisory, not PoC code), so this is no public exploit identified at time of analysis. The impact is narrowly scoped: only the AES-128 content-encryption key schedule of an already-delivered encrypted image is left in RAM, letting an attacker who can already read bootloader RAM recover that one image's content key; the device's long-term private decryption key is explicitly NOT exposed and image authenticity is unaffected, which is why confidentiality is rated Low rather than High. The practical prerequisite - the attacker must already have debug/RAM read access or code execution on the device after boot - means that in most threat models the attacker could obtain the plaintext image by other means anyway, reinforcing that this is a high-rigor defense-in-depth hardening fix, not an urgent remotely-exploitable vulnerability. |
| Exploit ScenarioDerived | After an encrypted firmware upgrade on a single-image MCUboot build using the TinyCrypt backend, the bootloader hands off to the application without wiping the AES-128 key schedule from its static boot_data RAM. An attacker with JTAG/SWD debug access, a RAM-dump capability, or code already executing on the device reads that leftover RAM, recovers the image content-encryption key (the first AES round key equals the cipher key), and decrypts the encrypted image. No public exploit code is known; exploitation requires physical or post-boot local access and is correspondingly high-complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
MCUboot builds that use the TinyCrypt AES-CTR backend leave the expanded AES-128 content-encryption key schedule sitting in bootloader RAM after boot hand-off, because bootutil_aes_ctr_drop() was an empty stub and generic code relies on that hook to clear key state. The exposure applies to MCUboot 1.3.0 through 2.4.0 built with MCUBOOT_USE_TINYCRYPT and MCUBOOT_ENC_IMAGES, in single-image configurations where boot_enc_zeroize() is not called, and specifically after an encrypted upgrade has run; the mbedTLS and PSA backends free or destroy their key state and are not affected. Recovering the key requires reading leftover bootloader RAM afterwards - physical debug (JTAG/SWD) or RAM-dump access, or code later executing on the device - and since the first AES-128 round key equals the cipher key, such a reader can recover the image content key and decrypt that encrypted image; the long-term private decryption key and image authenticity are not affected. No public exploit code or proof-of-concept has been identified at time of analysis, and this is a monitor-priority, low-severity issue with a vendor-released patch.
RemediationAI
Vendor-released patch: MCUboot 2.5.0, which replaces the empty bootutil_aes_ctr_drop() stub with bootutil_wipe_memory(ctx, sizeof(*ctx)) so the TinyCrypt AES-CTR context is wiped on drop; the fix is merged on main as commit d204aaa3ab40c0b37a52d3b4c433b437f9ad8374 (PR #2734) and described in https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-wx3x-935q-6rcf. Release lines that have not taken the backport remain affected across 1.3.0 through 2.4.0, so downstream ports and vendor forks (notably Zephyr, where TinyCrypt is the default ECDSA and Ed25519 backend) should confirm they carry the change. Where an immediate upgrade is not possible, two compensating controls follow from the assessed preconditions: switch the build to the mbedTLS or PSA crypto backend, which already free or destroy key state on drop, at the cost of a larger crypto footprint on constrained targets; or, if that is impractical, keep the deployment out of the exposed shape by ensuring the affected single-image encrypted-upgrade path is not the one in use, or apply the cited commit directly to the port's bootutil headers. Because recovery of the leftover key requires reading bootloader RAM after hand-off (physical debug via JTAG/SWD, a RAM dump, or code later running on the device), restricting debug and memory-read access on production devices - disabling or locking JTAG/SWD and enabling the SoC's readout protection where available - raises the bar for the physical attacker, though it does nothing against code that later executes on the device and does not remove the underlying defect.
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 crypto abstraction exposes a backend hook, bootutil_aes_ctr_drop(), that generic code expects to release and clear AES-CTR key state. With the TinyCrypt backend (MCUBOOT_USE_TINYCRYPT) the AES-CTR context is the fully expanded AES-128 key schedule, struct tc_aes_key_sched_struct, held entirely inside the context object, and the pre-fix implementation in boot/bootutil/include/bootutil/crypto/aes_ctr_tinycrypt.h was a '(void)ctx;' stub - TinyCrypt has no aes_free()-style call, so nothing was ever wiped. This is CWE-226, sensitive information in a resource not removed before release or reuse: boot_state_clear(), which boot_go() calls as the only cleanup of the static boot_data before returning to the port jump, relies solely on boot_enc_drop(), which in turn relies solely on bootutil_aes_ctr_drop(); boot_enc_zeroize() (which does memset) only runs on BOOT_IMAGE_NUMBER > 1 and serial-recovery paths, so after an encrypted upgrade in a single-image build the image content key schedule stays in static boot_data. boot_decrypt_key() similarly keys a local AES-CTR context with the ECIES-derived key-encryption key and depended on the same hook to clear it, leaving that schedule on the stack. Because the first AES-128 round key equals the cipher key, memory disclosure of the leftover context is equivalent to disclosure of the image content key. The mbedTLS backend calls mbedtls_aes_free and the PSA backend destroys the key in its drop path, which is why only the TinyCrypt build is exposed; TinyCrypt is the default ECDSA and Ed25519 backend in the Zephyr port, which is the most likely deployment to hit this combination. The trigger for the leak is a subsequent read of bootloader RAM after hand-off, not a network-reachable code path; the flaw was introduced when the crypto abstraction added the empty TinyCrypt stub (commit 4f4833d4, 2020-09-14), with TinyCrypt AES-CTR never wiping the schedule since 38f5ffea (2018), and the fix replaces the stub with bootutil_wipe_memory(ctx, sizeof(*ctx)).
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 exploitation needs post-boot physical/RAM-debug access plus a specific TinyCrypt+encryption config after an encrypted upgrade; C:L as only one image's content key leaks, with no integrity or availability impact.
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
When MCUboot is built with the TinyCrypt crypto backend (MCUBOOT_USE_TINYCRYPT), bootutil_aes_ctr_drop() in boot/bootutil/include/bootutil/crypto/aes_ctr_tinycrypt.h was an empty stub. The AES-CTR context for this backend is the fully expanded AES-128 key schedule (struct tc_aes_key_sched_struct). Generic code relies on this hook to release and clear key state, so with TinyCrypt nothing was cleared. The mbedTLS and PSA backends do free or destroy their key state here.
As a result, boot_state_clear(), which boot_go() calls before handing off to the application, left the image's AES content-encryption key schedule in the static boot_data state. This is the case after an encrypted upgrade in single-image builds, where boot_enc_zeroize() is not called. boot_decrypt_key() likewise left the ECIES-derived key-encryption key schedule on the stack. The affected build uses MCUBOOT_ENC_IMAGES with TinyCrypt, which is the default ECDSA and Ed25519 backend in the Zephyr port.
The first AES-128 round key equals the cipher key, so anyone who can read the leftover bootloader RAM after boot can recover the image content key and decrypt that encrypted image. That includes a physical attacker with debug or RAM access, or code later running on the device. This weakens image-encryption key confidentiality (and so the confidentiality of the encrypted image's plaintext). The device's long-term private decryption key is not exposed, and image authenticity is not affected. The fix wipes the context with bootutil_wipe_memory().
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-124811
NVD
CVE.org
EPSS
GitHub
Exploit-DB