PT-2026-158383
CVE-2026-16663
·
Published
2026-11-24
·
Updated
2026-11-24
Description by
CVSS 3.1
8.4
HighMetricsAV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
MCUboot versions prior to 2.0.0
Description
The encrypted serial-recovery path contains an out-of-bounds write in the
decrypt region inplace() function within boot/boot serial/src/boot serial encryption.c. The issue occurs because the routine uses an absolute header size for the destination index instead of a sector-relative index when decrypting an uploaded image into a buffer buf[sz]. This allows an attacker to provide a malicious ih hdr size value in the image header, causing the boot enc decrypt() function to write attacker-controlled plaintext beyond the buffer boundaries.In versions 2.0.0 and later, this results in a stack-based memory corruption. In versions prior to 2.0.0, the corruption affects adjacent static data in the .bss section. This flaw is reachable pre-authentication via the serial/USB recovery interface if
MCUBOOT ENC IMAGES and serial recovery are enabled. Successful exploitation can lead to a denial-of-service or arbitrary code execution within the secure-boot root of trust, bypassing image authentication.Recommendations
Update MCUboot to version 2.0.0 or later.
As a temporary mitigation, disable the serial recovery interface or the
MCUBOOT ENC IMAGES configuration to prevent unauthorized access to the vulnerable path. Found an issue in the description? Have something to add? Feel free to write us 👾