CVE-2026-16667 — Mcu Tools Mcuboot Vulnerability
Source-verified CVE facts from NVD, CISA KEV and FIRST EPSS.
Direct answer
- Affected
- mcu-tools mcuboot · <= *, >= 1.6.0
- Impact vs exploitation
- MEDIUM impact · P3 · EPSS 0.3%
- Remediation
- Fixed in *
- Evidence
- 1 cited source
Authoritative Technical Advisory
Verified source facts · NVD / FIRST EPSSThe Cypress/PSoC6 flash-map backend in boot/cypress/cy_flash_pal/cy_flash_map.c guards every flash access with assert() against the wrong struct field. flash_area_read(), flash_area_write(), and flash_area_erase() check assert(off < fa->fa_off) and assert(off + len < fa->fa_off), comparing the area-relative off against the partition's absolute base address fa->fa_off instead of its length fa->fa_size. Because fa_off is a large absolute address, realistic out-of-partition offsets pass the check even in a debug build, and under NDEBUG the asserts are removed entirely. The access then proceeds as memcpy() (or a flash row op) at fa->fa_off + off with no enforcement. The MCUboot core does not bound image-region offsets itself; it relies on flash_area_read() returning an error. During pre-authentication image validation, bootutil_img_hash() in boot/bootutil/src/bootutil_img_hash.c loops over ih_hdr_size + ih_img_size + ih_protect_tlv_size — all attacker-controlled header fields of the still-unverified update image — calling flash_area_read(), and the TLV iterator in boot/bootutil/src/tlv.c reads attacker-derived offsets the same way. An attacker who can stage a crafted image in the secondary/update slot (via OTA, DFU, or serial recovery, depending on the product) declares an oversized ih_img_size, causing reads far past the partition. A correct backend would reject these and fail validation cleanly; the Cypress backend does not. The out-of-bounds access is in the source address of the copy — the destination buffer is correctly sized — so there is no memory corruption, no information disclosure to the attacker (the data is only folded into a hash that still fails the signature check), and no authentication bypass. The realistic impact is a bus fault or hang when the computed absolute address lands on an unmapped or peripheral region of the PSoC6 address map: the bootloader crashes instead of rejecting the bad image, an availability (denial-of-service) impact. The defect is specific to the Cypress/PSoC6 port; mainline Zephyr/sim/mynewt backends are unaffected. The identical broken guard in the write/erase primitives is a latent out-of-bounds-write gap, but no attacker-controlled out-of-bounds offset was found to reach those (serial-recovery uploads are bounded by the core), so the reachable memory-safety bug is the out-of-bounds read.
- Vendor
- mcu-tools
- Product
- mcuboot
- CWE
- CWE-125 (CNA)
- Threat type
- Memory Corruption
- CISA SSVC
- Exploitation none · Automatable no · Technical impact partial
- Source status
- Received
- Affected versions
- <= * · >= 1.6.0
- Fixed versions
- *
- Source
- NVD / FIRST EPSS
Attack surface & CVSS vector breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hlocal attack surface; low attack complexity; none privileges required; no user interaction; scope unchanged; 1 of 3 impact dimensions fully compromised.
Requires local access to the target system.
No specialised conditions; reliable exploitation is practical.
No privileges required before exploitation.
No user interaction required.
Impact stays within the vulnerable component.
No confidentiality impact.
No integrity impact.
Total loss of availability.
Triage & exploitation posture
STANDARDInclude in the normal patch cycle and confirm the affected component is deployed.
- CVSS base score 6.2
- EPSS 0.29%
Remediation & upgrade matrix
2 affected branches| Affected range | Fixed in | Action | Reference |
|---|---|---|---|
| <= * | Not published by the source | Confirm the fixed release with the vendor advisory. | Advisory ↗ |
| >= 1.6.0 | Not published by the source | Confirm the fixed release with the vendor advisory. | Advisory ↗ |
Environment Risk Adjuster
Computed in your browser · nothing is sentNo adjustment applied
Public Exploit / PoC Intelligence
Keyless PoC-in-GitHub indexIntelligence may be incomplete, conflicting, stale, or revised. Capability is not execution; classification is not attribution.