{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-127915","id":"CVE-2026-127915","title":"MCUboot out-of-bounds read in image TLV iteration","description":"The MCUboot TLV iterator bootutil_tlv_iter_next() in boot/bootutil/src/tlv.c walks image trailer TLVs with a single loop guard (it->tlv_off < it->tlv_end) and advances by sizeof(struct image_tlv) + tlv.it_len using the attacker-controlled it_len field, without validating that the entry's header or payload stays within it->tlv_end. As a result the 4-byte header read can extend up to 3 bytes past th","descriptionLong":"The MCUboot TLV iterator bootutil_tlv_iter_next() in boot/bootutil/src/tlv.c walks image trailer TLVs with a single loop guard (it->tlv_off < it->tlv_end) and advances by sizeof(struct image_tlv) + tlv.it_len using the attacker-controlled it_len field, without validating that the entry's header or payload stays within it->tlv_end. As a result the 4-byte header read can extend up to 3 bytes past the declared TLV area, and the returned (off, len) can describe a payload that runs past it.\n\nThe path is pre-authentication: TLVs are parsed during bootutil_img_validate() before the signature is verified, and a crafted image can be presented through DFU / serial-recovery / OTA. However the impact is contained by surrounding guards: bootutil_img_validate() first rejects a TLV area larger than bootutil_max_image_size(), the default LOAD_IMAGE_DATA sink is flash_area_read() which bounds-checks against the flash partition and fails an out-of-partition read, and every payload consumer (EXPECTED_HASH_TLV, EXPECTED_KEY_TLV, EXPECTED_SIG_TLV, IMAGE_TLV_SEC_CNT) clamps len against a fixed buffer before copying.\n\nThe residual effect in a default flash build is therefore an out-of-region read confined to the attacker's own slot partition whose result is never observable, yielding at worst a clean validation failure rather than memory corruption or information disclosure. A genuine (though still bounded) out-of-bounds read remains under the non-default MCUBOOT_RAM_LOAD configuration, where LOAD_IMAGE_DATA is an unchecked memcpy. The fix is to validate each entry's header and payload against it->tlv_end inside the iterator.","published":"2026-11-13T00:23:07.449Z","updated":"2026-11-19T01:03:08.369433819Z","reserved":"2026-11-12T18:50:53.746Z","status":"Awaiting Analysis","rejected":false,"assigner":"zephyr","metric":{"version":"3.1","score":2,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"zephyr"},"metrics":[{"version":"3.1","score":2,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"zephyr"},{"version":"3.1","score":2,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"zephyrproject.org"},{"version":"3.1","score":2,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"OSV"}],"rating":"low","products":["mcu-tools mcuboot"],"affectedProducts":[{"vendor":"mcu-tools","product":"mcuboot","defaultStatus":"unaffected","versions":[{"version":"0.9.0","status":"affected","versionType":"semver","lessThan":"2.5.0"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":["GHSA-4fp3-3qw2-25jv"],"references":[{"url":"https://github.com/mcu-tools/mcuboot/commit/90f4e7c3ebe4cf9a5eb7d981220388ffdefd6d19","tags":["patch","fix"]},{"url":"https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-4fp3-3qw2-25jv","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/127xxx/CVE-2026-127915.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-127915","tags":["advisory"]},{"url":"https://github.com/mcu-tools/mcuboot","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00146,"epssPercentile":0.03877,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-127915","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-127915","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-127915","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-127915","ok":true,"note":"scored 2026-11-18"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}