EN
FREN
CVE-2026-16663, débordement mémoire dans mcuboot TLV
8.4High

CVE-2026-16663 : mcuboot · high

CVE-2026-16663 · published on November 24, 2026 at 22:18 · updated on November 24, 2026 at 22:18 · CVSS 3.1, read on November 25, 2026

8.4CVSS score
5days since publication

The CVSS score measures technical severity, not your exposure. Here: attack local, with no particular condition, with no action from the victim. A high score on software you do not use does not concern you, and a medium score on exposed software still needs fixing.

What this vulnerability allows, plainly. Remote code execution, from the machine itself. The attacker runs their own commands on the server.

In practice, for a business:

  • full takeover of the site, content and customer accounts included
  • a backdoor planted that survives the update
  • hosting bills and brand reputation damaged

This software is not part of the general network we measure: it lives on workstations, internal servers or appliances that are not reachable from the internet, unless their port is publicly exposed. That is exactly when exposure becomes real, and it is what we check as soon as a version is readable from outside.

What is the CVE-2026-16663 vulnerability ?

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. The path is reached pre-authentication: bs_upload() calls boot_handle_enc_fw() (boot/boot_serial/src/boot_serial.c:1208) after upload, and the pre-decryption signature gate in decrypt_image_inplace() is compiled out (#if 0 at boot/boot_serial/src/boot_serial_encryption.c:226-233), so the header is never validated before decryption. A second error in the same window computation affects the first sector. When a sector holds both the end of the header and the start of the TLV area, the decrypt length is clamped to tlv_off - (off + bytes_copied), measured from the start of the sector rather than from idx (boot/boot_serial/src/boot_serial_encryption.c:166). An encrypted image whose header and payload end within the first sector is therefore decrypted for ih_hdr_size bytes more than it should be: into the TLV area and, when the image ends near the end of the sector, past buf. This form needs no oversized header, so even an ordinary small encrypted image can trigger it, and it reaches devices with sectors of up to about 128 KiB rather than only those whose sector is smaller than the 16-bit ih_hdr_size. Reaching the sink requires a build with MCUBOOT_ENC_IMAGES and serial recovery enabled, and access to the device's serial/USB recovery interface (unauthenticated by design). With the public-key encryption schemes the AES content key is wrapped to the device's public encryption key, so an attacker can author a fully crafted encrypted image, including a malicious ih_hdr_size, without the image-signing private key. The result is a controllable stack memory-corruption inside the bootloader before any signature check, providing a path to code execution in the secure-boot root of trust that bypasses image authentication, as well as a denial-of-service. A 2048-byte out-of-bounds write was reproduced under AddressSanitizer (sz=4096, off=4096, ih_hdr_size=6144). On releases before v2.0.0 (v1.9.0 and v1.10.0) the destination is a file-scope static uint8_t buf[SOC_FLASH_ERASE_BLK_SZ] in .bss rather than the stack VLA described above, the code then lived in boot/zephyr/single_loader.c, before commit c9fa6088 relocated it to boot/boot_serial/src/boot_serial_encryption.c and changed the buffer's storage class. The out-of-bounds write is equally real and equally pre-authentication on those releases, but it corrupts adjacent static data rather than the stack, so a stack-smashing proof of concept written against a current release will not reproduce as-is there.

A version range is read like an interval, with the lower bound included and the upper bound excluded, unless the publisher states otherwise. Comparing two version numbers is not comparing two numbers. Each part is read separately, from strongest to weakest, and a maintenance release can fix a vulnerability without changing the major number. This is why a site that announces it is "up to date" can still be vulnerable if its version is earlier than the fix bound. The only way to decide is to read the number actually published by the site, then compare it to the bound. When a site publishes no number, no conclusion is possible, and we record "not assessable" rather than assume a version. A flattering assumption is more dangerous than no answer, because it puts people to sleep. Also beware of branches maintained in parallel. A publisher can fix the same vulnerability on three different branches, with three different numbers, and the published bound applies only to the branch it names.

Which software and version are affected by the CVE-2026-16663 vulnerability ?

  • mcuboot, jusqu'à la version 2.5.1 incluse

The software named above is the one the advisory identifies as vulnerable, along with the affected version range. A range is read as an interval, lower bound included and upper bound excluded, unless the vendor states otherwise. The version published by a site is read from its served files, not from its administration interface, because that is what an attacker sees. A site that declares itself up to date can therefore remain vulnerable if its version is earlier than the fix threshold. Conversely, a backported patch closes the flaw without changing the major number. We therefore never conclude on the sole number displayed by a vendor. When a site publishes no version, we write "not assessable" rather than assume.

Are French sites affected by the CVE-2026-16663 vulnerability ?

No main domain of our estate uses this software, or we have not seen it yet.

The CVE-2026-16663 vulnerability affects Mcuboot up to version 2.5.1 inclusive. No trace of this software in the sites we measure. Our measurement covers websites and their software components, not network hardware or microcode, which expose no version number. The real exposure of this vulnerability stays out of our reach, and we do not put a figure on it. The flaw was published on 24 November 2026. It was updated on 24 November 2026. The version reading is dated 25 November 2026. To fix it, Mcuboot must be updated beyond version 2.5.1: any later version is not affected by this flaw. A site that stays below that bound keeps the door open, even if the rest of its components is up to date. The catalogue lists 14 flaws on this software since the census began, 14 of them in 2026, the oldest dating from 13 November 2026. The estate figures come from our own reading of the versions the sites serve, not from an estimate: a domain that hides its version is not counted, which makes the total lower than the number of sites that use Mcuboot.

How to fix the CVE-2026-16663 vulnerability ?

Fixing is done in a specific order, and that order matters as much as the fix itself. First, identify the version in place, without relying on the administration display, because a number is read in the served files and that is what an attacker sees. Then back up, then update to a version later than the threshold indicated by the publisher. If a direct update is not possible, apply the security patch published for your branch, which closes the flaw without changing major version. Finally verify, by re-reading the number after the operation and confirming that the page that caused the problem still responds. An unverified update is a presumed update. If the software is no longer maintained, the only solid answer is replacement, because an isolated patch on an abandoned branch will not hold against the next flaw. Also consider what surrounds the software. Extensions, modules and themes follow their own schedule, and a core update does not fix a faulty module. Finally, note the date of your fix. It will serve later to prove that the flaw was closed before being exploited.

  1. Identify the installed version of the affected software.
  2. Apply the update that goes beyond the fixed limit published above.
  3. If the update is not possible, disable the component or remove the exposed feature.
  4. Check afterwards that the installed version is well beyond the threshold, using the same command that was used to read it.

Where to find the fix and the proofs for the CVE-2026-16663 vulnerability ?

No public evidence recorded to date. Its absence does not mean nobody exploits it: a successful attack is not published. 2 references published for this flaw, 2 of them shown here. The list starts with what fixes it (commit, patched release, affected code), then the vendor advisory, then public evidence. Each link opens the original source in a new tab.

Frequently asked questions about CVE-2026-16663

Which software and which versions does CVE-2026-16663 affect?

CVE-2026-16663 affects mcuboot, published by an unnamed vendor. Affected versions run up to 2.5.1 inclusive. Version ranges published in the source: 1. Domains in our measured estate using this software: 0.

How severe is CVE-2026-16663 in practice?

The CVSS score of CVE-2026-16663 is 8.4 out of 10, rated high. Published on 2026-11-24, 5 days before this page. Public exploitation proofs known: 0.

Are any French sites affected by CVE-2026-16663?

Domains measured in our estate: 1 730 177. Domains using mcuboot: 0. Those domains therefore run versions that need updating.

How do you fix CVE-2026-16663?

The fix is to move past version 2.5.1. Fix references published: 0, out of 2 references in total. The flaw is recent, schedule the fix this week.

Where are the fix and the evidence for CVE-2026-16663?

References published for CVE-2026-16663: 2, across 1 distinct sources. Fixes: 0. Public exploitation demonstrations: 0.

Continue