{"id":"CVE-2026-16669","aliases":[],"cve":{"records":[{"id":"CVE-2026-16669","source":"zephyr","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-07-22T19:48:00.888Z","published":"2026-11-24T23:37:54.053Z","modified":"2026-11-25T20:02:07.904Z"}],"publishers":[{"name":"zephyr","role":"CNA","organizationId":"e2e69745-5e70-4e92-8431-deb5529a81ad","modified":"2026-11-24T23:37:54.053Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-25T20:02:07.904Z"}],"references":[{"url":"https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-jwgx-96h6-4m8v","tags":[],"source":"zephyr"}],"weaknesses":[{"id":"CWE-226","description":"info-leak","source":"zephyr"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-25T19:53:14.479542Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"Espressif flash-encryption provisioning leaves eFuse key material and plaintext sector buffers on the bootloader stack","titleSource":"zephyr","descriptionSource":"zephyr","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.\n\nThe 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.\n\nThe 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.","score":2,"severity":"low","published":"2026-11-24T23:37:54.053Z","modified":"2026-11-25T20:02:07.904Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"mcu-tools","name":"mcuboot","platforms":[],"versions":[{"version":"1.9.0","status":"affected","lessThanOrEqual":"*","versionType":"semver"}],"defaultStatus":"unaffected","cpes":[],"source":"zephyr","url":"https://www.cve.org/CVERecord?id=CVE-2026-16669"}],"remediation":[],"references":["https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-jwgx-96h6-4m8v"],"sources":[{"name":"CVE","id":"CVE-2026-16669","modified":"2026-11-25T20:02:07.904Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-16669"}],"assessments":[{"source":"zephyr","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":2}],"sourceAffected":[],"observedAt":"2026-11-25T21:09:39.631Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T23:55:31.062Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-25T00:20:36.629Z","attemptedAt":"2026-11-25T00:20:36.629Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-25T00:20:36.562Z","attemptedAt":"2026-11-25T00:20:36.562Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-25T00:20:37.188Z","attemptedAt":"2026-11-25T00:20:37.188Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-25T00:20:36.227Z","attemptedAt":"2026-11-25T00:20:36.227Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-16669","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16669","modified":"2026-11-25T00:17:11.970","score":2,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","checkedAt":"2026-11-25T00:20:36.629Z"}],"aiSummary":{"text":"MCUboot's Espressif port has a weakness where sensitive data may linger in bootloader stack memory during the one-time first-boot provisioning pass. An attacker with out-of-band stack/RAM-disclosure capabilities may recover the data. The impact is a low-severity, defense-in-depth hardening gap.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-25T00:26:08.666Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-16669"}]}}