Home / mcu-tools / mcuboot / CVE-2026-16662
CVE-2026-16662: is it exploited, and which versions of mcu-tools mcuboot are affected and fixed?
CVE-2026-16662 is an use of uninitialized variable 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, 17:39 UTC). Affected: mcuboot from 1.6.0 before 2.5.0 (CVE record by zephyr). Fixed in 2.5.0 (CVE record by zephyr). Severity: Low (2.4, CVSS 3.1, from zephyr).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 24, 2026, 23:21 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-16662?
Uninitialised bootloader stack disclosed into the measured-boot attestation record via a short EXPECTED_HASH TLV in MCUboot
boot_save_boot_status() in boot/bootutil/src/boot_record.c reads the image's EXPECTED_HASH_TLV into a stack buffer image_hash[IMAGE_HASH_SIZE] that is never zero-initialised. The TLV handler validates only the upper bound (len > sizeof(image_hash)) and then reads exactly len bytes, so a TLV shorter than IMAGE_HASH_SIZE leaves the tail of image_hash holding stale stack content. The subsequent copy into the boot record, memcpy(buf + offset, image_hash, sizeof(image_hash)), uses the fixed buffer size rather than len, so up to IMAGE_HASH_SIZE - 1 bytes of uninitialised bootloader stack are written into the measured-boot record. The defect is reachable only under MCUBOOT_MEASURED_BOOT, and only when nothing has checked the length of the hash TLV before boot_save_boot_status() reads it. bootutil_img_validate() rejects a hash TLV whose length is not exactly sizeof(hash) (boot/bootutil/src/image_validate.c:345), and primary-slot validation is on by default (Zephyr's CONFIG_BOOT_VALIDATE_SLOT0 defaults to y), so in a default build the malformed image never reaches this code. Two kinds of build let a short TLV through: Builds that use pure signatures (MCUBOOT_SIGN_PURE, Zephyr CONFIG_BOOT_SIGNATURE_TYPE_PURE). The signature covers the image itself, so the hash-TLV check in bootutil_img_validate() is compiled out, and a pure-signed image normally carries no hash TLV. A hash TLV is still allowed in the unprotected TLV area, which the signature does not cover, so a short one can be added to a correctly signed image without invalidating it. This applies with every upgrade strategy, including direct-XIP and RAM-load, and the modified image can be delivered through any path that accepts a signed image. Builds with primary-slot validation turned off: the swap and overwrite loader built without MCUBOOT_VALIDATE_PRIMARY_SLOT, which checks only the image magic before calling boot_add_shared_data(), and the Zephyr single-slot loader (boot/zephyr/single_loader.c) built without it, including the MCUBOOT_VALIDATE_PRIMARY_SLOT_ONCE variant, which skips validation once the trailer records an earlier successful one. Placing the crafted image requires physical or flash-write access to the device; in a single-slot build with serial recovery enabled, the serial-recovery upload writes the primary slot directly and can place it as well. Outside pure-signature builds, the direct-XIP and RAM-load strategies in boot/bootutil/src/loader.c validate the selected slot unconditionally and are not affected. It is also reachable through a time-of-check/time-of-use change to tamperable external flash between validation and the boot-record read. In these configurations the boot record's measurement is already not trustworthy: the hash copied into the record is the image's own EXPECTED_HASH_TLV, which nothing has verified and which the attacker chooses. The defect therefore does not weaken attestation integrity any further. What it adds is a path for bootloader memory to leave the device: up to 63 bytes (IMAGE_HASH_SIZE - 1) of uninitialised bootloader stack are embedded in the measurement field that a downstream attestation service sends to a remote verifier. In the configurations analysed the residue is bootloader internal state (TLV offsets and lengths, flash addresses, loop state), not key material, but what occupies that stack region depends on configuration and on which code ran before boot_save_boot_status(). It is reported as a low-severity, defense-in-depth disclosure with no integrity or availability impact. This is distinct from the already-fixed record_len integer underflow in the same routine (GHSA-8hrv-4cp5-4rg3). The fix rejects any EXPECTED_HASH_TLV whose length is not exactly IMAGE_HASH_SIZE.
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 1.6.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-16662?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.4 | CVSS 3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | 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-16662 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.18% probability of exploitation activity in the next 30 days, percentile 7.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-457 Use of Uninitialized Variable
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, 17:39 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-16662
Is CVE-2026-16662 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.18% 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-16662?
mcuboot from 1.6.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-16662?
2.5.0, per the CVE record by zephyr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-16662?
Low (2.4, CVSS 3.1, from zephyr). The severity table above shows each score with its source.
Where is the official record of CVE-2026-16662?
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.