PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-16671 mcu-tools CVE debrief

A vulnerability in MCUboot's split-image validation feature with SHA-384/SHA-512 builds allows for an out-of-bounds stack write. This occurs when the `split_image_check()` function in `boot/bootutil/src/loader.c` declares a fixed `uint8_t loader_hash[32]` buffer and passes it to `bootutil_img_validate()`, which copies `IMAGE_HASH_SIZE` bytes into `out_hash`. The buffer size is fixed at 32 bytes for SHA-256, while the copy length varies based on the configured algorithm (64 bytes for MCUBOOT_SHA512 or 48 bytes for MCUBOOT_SIGN_EC384/SHA-384), leading to a buffer overflow of 16 or 32 bytes. This vulnerability is only present in non-default configurations where the legacy Mynewt split-image feature is compiled, the digest is larger than 32 bytes, and `MCUBOOT_SIGN_PURE` is off.

Vendor
mcu-tools
Product
mcuboot
CVSS
LOW 2.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-13
Original CVE updated
2026-11-17
Advisory published
2026-11-13
Advisory updated
2026-11-17

Who should care

Defenders responsible for MCUboot configurations, especially those using non-default settings with larger digests, should assess their exposure and prioritize updates to mitigate this vulnerability.

Why it matters

This vulnerability allows for an out-of-bounds stack write in MCUboot's split-image validation feature with SHA-384/SHA-512 builds, potentially leading to a crash or code execution in specific scenarios. Defenders should verify their configurations and update to mitigate this vulnerability.

  • Verify configurations to ensure they are not vulnerable.
  • Update to MCUboot version 2.5.0 or later to fix the vulnerability.
  • Adjust configurations to align with recommended settings to prevent similar issues.

Technical summary

The `split_image_check()` function in MCUboot's `boot/bootutil/src/loader.c` has a fixed buffer size of 32 bytes for `loader_hash`, but the `bootutil_img_validate()` function copies `IMAGE_HASH_SIZE` bytes into `out_hash`, leading to a buffer overflow when using SHA-384 or SHA-512 builds with specific configurations. This vulnerability is only present in non-default configurations where the legacy Mynewt split-image feature is compiled, the digest is larger than 32 bytes, and `MCUBOOT_SIGN_PURE` is off. The overflow is only present in a non-default configuration: the legacy Mynewt split-image feature must be compiled (split_go()/split_image_check(), i.e. neither MCUBOOT_DIRECT_XIP nor MCUBOOT_RAM_LOAD), the

Defensive priority

Defenders should prioritize verifying their MCUboot configurations, especially those using non-default settings with larger digests, and update to version 2.5.0 or later to mitigate this vulnerability.

Recommended defensive actions

  • Verify MCUboot configurations, especially those with non-default settings and larger digests.
  • Update to MCUboot version 2.5.0 or later.
  • Review and adjust configurations to ensure they align with recommended settings.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.

Evidence notes

The vulnerability is confirmed in MCUboot versions prior to 2.5.0 with specific configurations. Official sources, including the CVE Program and NIST NVD, provide details on the vulnerability and its impact.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-16671 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-16671

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-16671 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-16671

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.