CVE-2026-128091

Source
https://cve.org/CVERecord?id=CVE-2026-128091
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-128091.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-128091
Aliases
  • GHSA-wx3x-935q-6rcf
Published
2026-11-13T00:22:58Z
Modified
2026-11-14T02:47:32Z
Severity
  • 2.0 (Low) CVSS_V3 - CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
AES key schedule not cleared by the TinyCrypt AES-CTR backend in MCUboot bootutil
Details

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

Database specific
{
    "cna_assigner": "zephyr",
    "cwe_ids": [
        "CWE-226"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128091.json"
}
References

Affected packages

Git / github.com/mcu-tools/mcuboot

Affected ranges

Type
GIT
Repo
https://github.com/mcu-tools/mcuboot
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "1.3.0"
                },
                {
                    "fixed": "2.5.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "fixed": "d204aaa3ab40c0b37a52d3b4c433b437f9ad8374"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

1.*
1.7.0-rc1
TF-Mv1.*
TF-Mv1.2-integ
TF-Mv1.3-integ
TF-Mv1.4-integ
TF-Mv1.4-integ-rc1
TF-Mv1.4-integ-rc2
cypress-latest-v1.*
cypress-latest-v1.X
v1.*
v1.10.0
v1.10.0-rc1
v1.3.0
v1.3.1
v1.3.1-rc1
v1.4.0
v1.4.0-rc1
v1.4.0-rc2
v1.5.0
v1.5.0-cypress
v1.5.0-rc1
v1.5.0-rc2
v1.6.0
v1.6.0-cypress
v1.6.0-rc1
v1.6.0-rc2
v1.6.1-cypress
v1.7.0
v1.7.0-rc2
v1.8.0
v1.8.0-rc1
v1.9.0
v1.9.0-rc1
v1.9.0-rc2
v2.*
v2.0.0
v2.0.0-rc1
v2.1.0
v2.1.0-rc1
v2.2.0
v2.2.0-rc1
v2.2.0-rc2
v2.3.0
v2.3.0-rc1
v2.3.0-rc2
v2.4.0
v2.4.0-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-128091.json"