CVE-2026-16671
Last modified
CVE-2026-16671 is a low-severity vulnerability rated 2.9/10 on the CVSS scale. split_image_check() in boot/bootutil/src/loader.c declares a fixed uint8_t loader_hash[32] buffer and passes it as the out_hash out-parameter to bootutil_img_validate(). That routine copies IMAGE_HASH_SIZE bytes into out_hash (memcpy(out_hash, hash, IMAGE_HASH_SIZE) in boot/bootutil/src/image_validate.c), where IMAGE_HASH_SIZE is a compile-time constant of 64 for MCUBOOT_SHA512 or 48 for MCUBOOT_SIGN_EC384/SHA-384 (boot/bootutil/include/bootutil/crypto/sha.h). EPSS estimates a 0.11% chance of exploitation in the next 30 days.
Description
split_image_check() in boot/bootutil/src/loader.c declares a fixed uint8_t loader_hash[32] buffer and passes it as the out_hash out-parameter to bootutil_img_validate(). That routine copies IMAGE_HASH_SIZE bytes into out_hash (memcpy(out_hash, hash, IMAGE_HASH_SIZE) in boot/bootutil/src/image_validate.c), where IMAGE_HASH_SIZE is a compile-time constant of 64 for MCUBOOT_SHA512 or 48 for MCUBOOT_SIGN_EC384/SHA-384 (boot/bootutil/include/bootutil/crypto/sha.h). The buffer tracks SHA-256 (32 bytes) while the copy length tracks the configured algorithm, so the write overruns the buffer by 16 or 32 bytes. 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 digest must be larger than 32 bytes (MCUBOOT_SHA512 or MCUBOOT_SIGN_EC384), and MCUBOOT_SIGN_PURE must be off. split_go() is a public API with no caller inside MCUboot; it is invoked from a Mynewt application. In the default SHA-256 build there is no overflow. The over-written bytes are the one-way digest of the loader image and the overflow length is fixed at build time, so the contents are not meaningfully attacker-controlled and the size is not attacker-chosen. The realistic impact is bounded, uncontrolled corruption of the bootloader's stack on the split-boot path, manifesting as instability or failed boot in the affected configuration rather than reliable code execution. The fix is to size loader_hash to IMAGE_HASH_SIZE and pass IMAGE_HASH_SIZE as the matching seed length.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| mcu-tools | mcuboot | >= 2.0.0, < 2.5.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-16671?
How severe is CVE-2026-16671?
How do I fix CVE-2026-16671?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-1666The Download Manager plugin for WordPress is vulnerable to R…6.1
- CVE-2026-16660IBM Db2 Mirror for i 7.4, 7.5, and 7.6 could allow a remote …5.3
- CVE-2026-16661IBM PowerVM Hypervisor FW1120.00, FW1110.00 through FW1110.3…8.2
- CVE-2026-16662boot_save_boot_status() in boot/bootutil/src/boot_record.c r…2.4
- CVE-2026-16664MCUboot's Zephyr serial-recovery upload handler bs_upload() …5.1
- CVE-2026-1667The SEO Plugin by Squirrly SEO plugin for WordPress is vulne…7.2
- CVE-2026-16672IBM DataStage on Cloud Pak for Data 5.4.0.0 could allow a re…8.8
- CVE-2026-16673IBM DataStage on Cloud Pak for Data 5.4.0.0 IBM DataStage co…8.8
- CVE-2026-16674IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authentica…8.8
- CVE-2026-16675A privilege escalation security issue exists within FactoryT…8.5
- CVE-2026-16678IBM Power Systems Firmware FW1110.00 through FW1110.31, FW11…4.5
- CVE-2026-16679IBM API Connect 12.1.0.0 through 12.1.1.2 could allow a remo…4.3
Are you affected by CVE-2026-16671?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
