Stack Buffer Vulnerability in Espressif's MCUboot Product
CVE-2026-16669
What is CVE-2026-16669?
In Espressif's MCUboot, a critical oversight in the implementation of the flash encryption feature leads to the omission of zeroizing sensitive stack buffers. During the first provisioning boot with flash encryption disabled, the freshly generated XTS-AES flash-encryption key is stored in a stack array without being scrubbed before the function exits, potentially exposing it. Additionally, the last plaintext flash sector is retained in memory, further exacerbating the risk of sensitive data leakage if the system's stack or RAM is accessed through specific channels. Although subsequent boot cycles do not recreate these buffers, the vulnerability highlights a gap in defense-in-depth practices that could be exploited in specific debug scenarios.
Affected Version(s)
mcuboot 1.9.0
