CVE Feed
2.0 Low

MCUboot's Espressif port omits zeroization of two sensitive stack buffers in boot/espressif/hal/src/flashencrypt.c.

CVE-2026-16669

MCUboot's Espressif port omits zeroization of two sensitive stack buffers in boot/espressif/hal/src/flashencrypt.c. In checkandgenerateencryptionkeys(), the freshly generated XTS-AES flash-encryption key is held in the stack array keys[BLOCKSNEEDED][32] (flashencrypt.c:216), written to eFuse via espefusewritekeys(), and the function returns (flashencrypt.c:243) without scrubbing it. In espflashencryptregion(), the plaintext flash sector buffer buf (flashencrypt.c:454) retains the last sector's cleartext at both the success and flashfailed returns. Neither path performs a memset/bzero/mbedtlsplatformzeroize, even though the same port already does bzero for key digests in boot/espressif/hal/src/secureboot.c. The affected code runs only on the Espressif port with CONFIGSECUREFLASHENCENABLED, and only during the one-time first-boot provisioning pass when flash encryption is not yet enabled (boot/espressif/main.c); on subsequent boots the buffers are never created. Recovering the residue requires an out-of-band stack/RAM-disclosure primitive — JTAG/debug halt, UART ROM download, a core/crash dump, or a warm-boot RAM scrape — captured during that single provisioning boot. Under the…

Assessment

CVSS
2 (v3.1)
Severity
Low
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
25 November 2026
Last updated
25 November 2026
Affected
mcu-tools · mcuboot
Assigner
zephyr

CVSS vectorCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-16669