CVE-2026-128091 · Runtime
NO FIX YET
When MCUboot is built with the TinyCrypt crypto backend, its AES context cleanup function is an empty stub, so key material stays in bootloader RAM after boot. An attacker who can read that RAM can recover the image content key and decrypt an encrypted firmware image.
first public Nov 12, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Only devices that run MCUboot built with the TinyCrypt backend and image encryption (MCUBOOT_ENC_IMAGES), which is the default ECDSA and Ed25519 backend in the Zephyr port. The sources say the issue needs physical RAM or debug access, or code already running on the device, to read the leftover key. Builds using the mbedTLS or PSA backends, or without encrypted images, are not affected.
Not affected if mbedtls-backend, no-image-encryption, psa-backend
Who cares embedded, mcuboot, tinycrypt, zephyr
MCUBOOT_USE_TINYCRYPT and MCUBOOT_ENC_IMAGESUnknown from the sources.
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().
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.