# CVE-2026-128091: AES key schedule not cleared by the TinyCrypt AES-CTR backend in MCUboot bootutil

- **Severity:** LOW 2.0
- **CVSS:** 2.0 (v3.1, CNA) `CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.11% (percentile 0, 2026-11-28)
- **CWE:** CWE-226
- **Published:** 2026-11-13T00:22:58.572Z
- **Modified:** 2026-11-17T17:18:01.807Z

## Who should check

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

## 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

- mcu-tools mcuboot: \>= 1.3.0, \< 2.5.0 (cvelist)

## Mitigation

- Upgrade mcuboot to 2.5.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-wx3x-935q-6rcf>
- patch: <https://github.com/mcu-tools/mcuboot/commit/d204aaa3ab40c0b37a52d3b4c433b437f9ad8374>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-128091>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-128091> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-128091>
