{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-127915", "assignerOrgId": "e2e69745-5e70-4e92-8431-deb5529a81ad", "state": "PUBLISHED", "assignerShortName": "zephyr", "dateReserved": "2026-11-12T18:50:53.746Z", "datePublished": "2026-11-13T00:23:07.449Z", "dateUpdated": "2026-11-17T16:23:17.075Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "e2e69745-5e70-4e92-8431-deb5529a81ad", "shortName": "zephyr", "dateUpdated": "2026-11-13T00:23:07.449Z" }, "title": "TLV iterator does not bound each entry against the declared TLV area in MCUboot bootutil", "descriptions": [ { "lang": "en", "value": "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." } ], "affected": [ { "vendor": "mcu-tools", "product": "mcuboot", "collectionURL": "https://github.com/mcu-tools/mcuboot", "packageName": "mcuboot", "defaultStatus": "unaffected", "programFiles": [ "boot/bootutil/src/image_validate.c", "boot/bootutil/src/tlv.c" ], "programRoutines": [ { "name": "bootutil_img_validate" }, { "name": "bootutil_tlv_iter_next" } ], "versions": [ { "version": "0.9.0", "status": "affected", "versionType": "semver", "lessThan": "2.5.0" } ] } ], "references": [ { "url": "https://github.com/mcu-tools/mcuboot/commit/90f4e7c3ebe4cf9a5eb7d981220388ffdefd6d19", "name": "Fix commit", "tags": [ "patch" ] }, { "url": "https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-4fp3-3qw2-25jv", "name": "GHSA-4fp3-3qw2-25jv" } ], "metrics": [ { "format": "CVSS", "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L", "baseScore": 2, "baseSeverity": "LOW" } } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "bounds", "cweId": "CWE-125", "type": "CWE" } ] } ], "x_generator": { "engine": "cvelib 1.8.0" } }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-11-17T16:02:40.956560Z", "id": "CVE-2026-127915", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-11-17T16:23:17.075Z" } } ] } }