Skip to content
FlawDB
Sign in

CVE-2026-128091

LOW 2.0EPSS 0%

AES key schedule not cleared by the TinyCrypt AES-CTR backend in MCUboot bootutil

Mitigation

  • Upgrade mcuboot to 2.5.0 or later.

Who should check

  • Anyone running mcu-tools mcuboot >= 1.3.0, < 2.5.0

Vulnerability facts

Affected
mcu-tools mcuboot >= 1.3.0, < 2.5.0
Fixed in
mcu-tools mcuboot 2.5.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
2.0 (v3.1, CNA)CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Physical
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: None
EPSS
0.11% chance of exploitation in 30 days (percentile 0, 2026-11-28)
CWE
CWE-226
Published
Modified

Description

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().

Affected and fixed versions

Package / productAffectedFixedSource
mcu-tools mcuboot>= 1.3.0, < 2.5.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-128091. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-128091.md
Affected: mcu-tools mcuboot >= 1.3.0, < 2.5.0
Fixed in: mcu-tools mcuboot 2.5.0

Steps:
1. Search this machine and project for mcu-tools mcuboot: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-128091 being exploited?

There is no confirmed exploitation: CVE-2026-128091 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.11% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2026-128091?

Low: CVSS 2.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-128091?

mcu-tools mcuboot >= 1.3.0, < 2.5.0.

Is there a fix for CVE-2026-128091?

Yes. Fixed in mcu-tools mcuboot 2.5.0. Upgrade mcuboot to 2.5.0 or later.

How do I check if I'm affected by CVE-2026-128091?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 4.0CVE-2026-16670

Out-of-bounds read in the PSA ECDSA signature DER parser on a malformed signature TLV before verification

mcu-tools
EPSS 5%
LOW 2.0CVE-2026-16669

Espressif flash-encryption provisioning leaves eFuse key material and plaintext sector buffers on the bootloader stack

mcu-tools
EPSS 2%
MEDIUM 6.2CVE-2026-16667

Cypress/PSoC6 flash backend fails to bounds-check flash accesses, allowing pre-auth out-of-bounds reads

mcu-tools
EPSS 14%
MEDIUM 5.7CVE-2026-16666

MCUboot swap resume trusts a flash-resident swap_size, allowing pre-authentication out-of-bounds flash operations

mcu-tools
EPSS 6%
LOW 2.4CVE-2026-16668

Unbounded CBOR recursion in MCUboot serial recovery allows pre-authentication stack exhaustion

mcu-tools
EPSS 44%
Sponsors