# CVE-2026-16669: Espressif flash-encryption provisioning leaves eFuse key material and plaintext sector buffers on the bootloader stack

- **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.15% (percentile 2, 2026-11-28)
- **CWE:** CWE-226
- **Published:** 2026-11-24T23:37:54.053Z
- **Modified:** 2026-11-25T20:18:47.090Z

## Who should check

- Anyone running mcu-tools mcuboot \>= 1.9.0, \<= \*

## Description

MCUboot's Espressif port omits zeroization of two sensitive stack buffers in boot/espressif/hal/src/flash\_encrypt.c. In check\_and\_generate\_encryption\_keys(), the freshly generated XTS-AES flash-encryption key is held in the stack array keys\[BLOCKS\_NEEDED\]\[32\] (flash\_encrypt.c:216), written to eFuse via esp\_efuse\_write\_keys(), and the function returns (flash\_encrypt.c:243) without scrubbing it. In esp\_flash\_encrypt\_region(), the plaintext flash sector buffer buf (flash\_encrypt.c:454) retains the last sector's cleartext at both the success and flash\_failed returns. Neither path performs a memset/bzero/mbedtls\_platform\_zeroize, even though the same port already does bzero for key digests in boot/espressif/hal/src/secure\_boot.c.

The affected code runs only on the Espressif port with CONFIG\_SECURE\_FLASH\_ENC\_ENABLED, 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 recommended CONFIG\_SECURE\_FLASH\_ENCRYPTION\_MODE\_RELEASE plus secure boot, those channels are fused off and no exposure exists.

The practical impact is a low-severity, defense-in-depth hardening gap: a flash-encryption key (and last plaintext sector) may linger in bootloader stack memory. Because the eFuse key block is burned read+write-protected, the transient stack copy is the only readable copy, and only during one boot; in a development build where a disclosure channel is open, an attacker with that capability can usually already read the still-plaintext flash directly, so the marginal confidentiality gain is small. Confirming real-world recovery depends on a specific SoC/debug configuration not exercisable from source alone.

## Affected and fixed versions

- mcu-tools mcuboot: \>= 1.9.0, \<= \* (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-16669. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-16669.md
Affected: mcu-tools mcuboot >= 1.9.0, <= *
Fixed in: no fixed version listed yet

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-16669 being exploited?

There is no confirmed exploitation: CVE-2026-16669 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-16669?

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-16669?

mcu-tools mcuboot \>= 1.9.0, \<= \*.

### Is there a fix for CVE-2026-16669?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-16669?

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-jwgx-96h6-4m8v>

## 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-16669>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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