patchminder
Proof of concept · GitHub CVE-2026-16663

Remote code executionin mcu-tools mcuboot.

Published 24 Nov 2026 · Updated 1 Dec 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 8.4
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.4% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.5.1 or later
In plain words

MCUboot's encrypted serial-recovery path contains an attacker-controlled out-of-bounds stack write in decrypt_region_inplace() in boot/boot_serial/src/boot_serial_encryption.c. The routine decrypts an uploaded encrypted image one flash sector at a time into a sector-sized stack VLA buf[sz], but when the current sector is still inside the image header it sets the destination index to the absolute header size (idx = hdr->ih_hdr_size; at boot/boot_serial/src/boot_serial_encryption.c:156) and then decrypts into &buf[idx]. The correct sibling routine boot/bootutil/src/loader.c:876 uses the sector-relative idx = hdr->ih_hdr_size · abs_off; the serial path is missing the · abs_off term, so for any sector after the first the index runs past the end of the stack buffer. The ih_hdr_size field is a uint16_t taken verbatim from the uploaded image header. On the second sector onward, when ih_hdr_size exceeds the sector size, &buf[idx] points beyond buf and boot_enc_decrypt() writes attacker-controlled plaintext into adjacent stack frames.

What to do now
  • Upgrade mcuboot to 2.5.1 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
mcuboot
1.9.0 to before 2.5.1
2.5.1
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 22 Jul 2026
    CVE ID reserved by zephyr.
  2. 24 Nov 2026
    Published in the CVE List.
  3. 25 Nov 2026
    First public proof of concept on GitHub.
  4. 1 Dec 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundgooglesky/CVE-2026-166630 stars · created 25 Nov 2026MCUboot before 6e1465c: decrypt_region_inplace uses absolute ih_hdr_size as a buffer index · pre-auth OOB write in encrypted serial recovery. ASan differential: heap-buffer-overflow on vuln, bounded

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other mcuboot vulnerabilities

Same weakness: Out-of-bounds write

All CWE-787 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-16663: Remote code execution in mcu-tools mcuboot. https://patchminder.com/cve/cve-2026-16663/ (accessed 5 December 2026).