CVE Feed
2.9 Low

bootutilimghash() computes the image digest over ihhdrsize + ihimgsize + ihprotecttlvsize bytes, all three taken from the candidate image's…

CVE-2026-127916

bootutilimghash() computes the image digest over ihhdrsize + ihimgsize + ihprotecttlvsize bytes, all three taken from the candidate image's header, and reads that span out of the slot without checking that it fits in the flash area. The three sizes are also summed without an overflow check. Nothing earlier on the validation path bounds the whole span either: bootutilimgvalidate() compares the image size against bootutilmaximagesize() only after the hash has been computed. The callers bound part of the span, or none of it: On the swap and overwrite upgrade path, bootvalidateslot() first runs the image header check (bootisheadervalid(), later bootcheckheadervalid()). Before MCUboot 2.2.0 that check covered only ihhdrsize + ihimgsize, so for every image the protected-TLV area (ihprotecttlvsize, a uint16t, up to 65535 bytes) was hashed without being bounded. From 2.2.0 the check includes ihprotecttlvsize, except for a compressed image in the secondary slot when MCUBOOTDECOMPRESSIMAGES (CONFIGBOOTDECOMPRESSION) is enabled, which leaves the same gap of up to 64 KB. The serial recovery image-list and image-state handlers (bslist() and bsset() in boot/bootserial/src/bootserial.c) and…

Assessment

CVSS
2.9 (v3.1)
Severity
Low
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
13 November 2026
Last updated
13 November 2026
Affected
mcu-tools · mcuboot
Assigner
zephyr

CVSS vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-127916