Home / mcu-tools / mcuboot / CVE-2026-16659
CVE-2026-16659: is it exploited, and which versions of mcu-tools mcuboot are affected and fixed?
CVE-2026-16659 is a NULL pointer dereference (crash) vulnerability in mcu-tools mcuboot. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: mcuboot from 2.0.0 before 2.5.0 (CVE record by zephyr). Fixed in 2.5.0 (CVE record by zephyr). Severity: Medium (4.0, CVSS 3.1, from zephyr).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 24, 2026, 23:21 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-16659?
Pre-authentication NULL pointer dereference in MCUboot serial-recovery image upload (encrypted-image builds)
MCUboot's serial-recovery image-upload handler bs_upload() in boot/boot_serial/src/boot_serial.c declares const struct flash_area *fap = NULL and assigns it only via flash_area_open() part-way through the function. Two early validation failures (goto out_invalid_data) — a CBOR map that fails to decode, or an upload packet missing the off/data members — branch past the open while fap is still NULL, then fall into the shared epilogue. In MCUBOOT_ENC_IMAGES builds that epilogue unconditionally calls boot_handle_enc_fw(fap), which reaches boot_image_load_header() and flash_area_read() and dereferences the NULL flash_area. The defect is reachable pre-authentication: the trigger is the very first serial-recovery upload command carrying a malformed payload. The guarding conditions are default-true on a fresh recovery session — img_num, curr_off and img_size are zero-initialized statics, so curr_off == img_size and the primary-slot test both hold. It requires a non-default build: encrypted images (MCUBOOT_ENC_IMAGES / Zephyr CONFIG_BOOT_ENCRYPT_IMAGE) together with an active serial-recovery transport, on the Zephyr or Mynewt port (the two that build both boot/boot_serial/src/boot_serial.c and boot_serial_encryption.c with MCUBOOT_ENC_IMAGES). The impact is a transient denial of service of the bootloader during recovery. fap is a hard NULL rather than an attacker-controlled value, so there is no memory-corruption or information-leak primitive and image authentication is unaffected. Whether the dereference faults is platform-dependent — on targets where address 0x0 is mapped readable flash the read merely returns an error and execution continues, while targets that trap NULL (MPU / null-pointer-exception detection) take a hard fault. Because serial recovery is unauthenticated by design and already permits the console attacker to write the secondary slot, the added capability is only a low-value transient crash. The related unconditional flash_area_close(fap) call in the same epilogue is a safe no-op on the ports that reach it, so it does not contribute to the dereference. The affected ports are the Zephyr port — boot/zephyr/CMakeLists.txt compiles boot_serial.c under CONFIG_MCUBOOT_SERIAL and boot_serial_encryption.c under CONFIG_BOOT_ENCRYPT_IMAGE — and the Mynewt port, whose mcuboot_config.h defines MCUBOOT_SERIAL unconditionally and MCUBOOT_ENC_IMAGES under any BOOTUTIL_ENCRYPT_ syscfg, with boot/boot_serial/pkg.yml declaring no explicit source list so the whole directory is built. The Espressif port is not affected**: it compiles boot_serial.c but not boot_serial_encryption.c, and defines no MCUBOOT_ENC_IMAGES, so the #ifdef MCUBOOT_ENC_IMAGES block containing the call is preprocessed away. The NuttX, Cypress and Mbed ports do not build boot_serial.c at all.
From the CVE record by zephyr, last updated November 24, 2026, 23:13 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| mcu-tools | mcuboot | from 2.0.0 before 2.5.0 | 2.5.0 |
As the CVE record by zephyr states it, last updated November 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-16659?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.0 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | zephyr |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-16659 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 17, 2026)
- EPSS
- 0.11% probability of exploitation activity in the next 30 days, percentile 1.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-476 NULL Pointer Dereference
Where are the vendor advisories and references?
Who found and reported it?
- NVIDIA - Project Vanessa (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 22, 2026
- Published
- November 13, 2026, 00:23 UTC
- CVE record updated
- November 24, 2026, 23:13 UTC by zephyr
- NVD
- Awaiting Analysis, last modified November 17, 2026, 17:18 UTC
- Last checked
- CVE list November 24, 2026, 23:21 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect mcuboot?
- Nov 24, 2026CVE-2026-16670 mcu-tools mcuboot: out-of-bounds read
- Nov 24, 2026CVE-2026-16669 mcu-tools mcuboot: sensitive Information in Resource Not Removed Before Reuse
- Nov 24, 2026CVE-2026-16667 mcu-tools mcuboot: out-of-bounds read
- Nov 24, 2026CVE-2026-16666 mcu-tools mcuboot: improper array index validation
- Nov 24, 2026CVE-2026-16668 mcu-tools mcuboot: uncontrolled recursion
- Nov 24, 2026CVE-2026-16665 mcu-tools mcuboot: unusual condition not checked
- Nov 24, 2026CVE-2026-16663 mcu-tools mcuboot: out-of-bounds write (memory corruption)
- Nov 13, 2026CVE-2026-127916 mcu-tools mcuboot: out-of-bounds read
Questions about CVE-2026-16659
Is CVE-2026-16659 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.11% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of mcu-tools mcuboot are affected by CVE-2026-16659?
mcuboot from 2.0.0 before 2.5.0, per the CVE record by zephyr. The tables above give every range the sources list.
Which version fixes CVE-2026-16659?
2.5.0, per the CVE record by zephyr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-16659?
Medium (4.0, CVSS 3.1, from zephyr). The severity table above shows each score with its source.
Where is the official record of CVE-2026-16659?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.