{"metadata": {"vulnerability": "CVE-2026-16666", "count": 13, "kinds": {"milestone": 4, "sighting": 1, "kev": 0, "other": 8}, "linked_omitted": 0}, "data": [{"timestamp": "2026-07-22T19:47:57.470Z", "date_only": false, "value": "2026-07-22T19:47:57.470Z", "kind": "milestone", "label": "Reserved", "source": "cvelistv5", "record": "CVE-2026-16666", "field": "cveMetadata.dateReserved"}, {"timestamp": "2026-11-24T23:37:51.457Z", "date_only": false, "value": "2026-11-24T23:37:51.457Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-16666", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, {"timestamp": "2026-11-24T23:37:51.457Z", "date_only": false, "value": "2026-11-24T23:37:51.457Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / zephyr", "record": "CVE-2026-16666", "field": "containers.cna.providerMetadata.dateUpdated"}, {"timestamp": "2026-11-24T23:50:32.911Z", "date_only": false, "value": "2026-11-24T23:50:32.911142Z", "kind": "sighting", "label": "Seen", "source": "https://infosec.exchange/users/cve/statuses/117674097530211376", "record": "CVE-2026-16666", "field": "creation_timestamp", "uuid": "24aec572-d7c9-49f4-9f51-f822d334be46", "content": "CVE-2026-16666 MCUboot swap resume trusts a flash-resident swap_size, allowing pre-authentication out-of-bounds flash operations When MCUboot resumes an interrupted image swap it takes the number of bytes to move straight from the flash-resident status trailer. In boot_swap_image() (boot/bootutil/src/loader.c) the fresh-swap branch recomputes copy_size from the image headers and is bounded \u2014 swap_run() in boot/bootutil/src/swap_move.c carries an explicit \"not enough free space\" check (last_idx &gt;= first_trailer_idx) \u2014 but that check runs only inside if (boot_status_is_reset(bs)). On the resume branch the code instead does boot_read_swap_size(fap, &amp;bs-&gt;swap_size); copy_size = bs-&gt;swap_size; and passes the value to swap_run() with no re-derivation and no bound.\nswap_run() turns that byte count into a sector index by summing sector sizes until it reaches the count, with no ceiling on the real sector count: find_last_idx() in swap_move.c and swap_offset.c, and find_last_sector_idx() in swap_scratch.c, are all while (1) loops. The resulting index is fed to boot_img_sector_off() / boot_img_sector_size() (boot/bootutil/src/bootutil_priv.h), which index the fixed BOOT_MAX_IMG_SECTORS sectors[] arrays with no bounds check. Past num_sectors the loop reads zero-initialised \u2014 and past BOOT_MAX_IMG_SECTORS, adjacent-struct \u2014 entries; a sector size of 0 makes the loop never terminate, and a bogus computed offset is handed to boot_erase_region() / boot_copy_region() as an out-of-bounds flash erase or copy.\nMCUboot itself only ever writes a validated, slot-bounded swap_size (swap_misc.c, fixup_revert()), so reaching the defect requires writing the trailer from outside. Serial recovery provides exactly that: an upload writes attacker bytes contiguously from offset 0 of the primary slot (boot/boot_serial/src/boot_serial.c, via flash_area_id_from_multi_image_slot()), bounded only by img_size &lt;= area_size, so it controls the whole trailer \u2014 magic, swap_info, op/idx/state and swap_size. The resume gate boot_status_is_reset() keys solely on those op/idx/state fields, and boot_find_status() explicitly trusts valid magic as implying valid metadata. A forged in-progress status with an oversized swap_size therefore drives the unbounded walk during swap setup \u2014 before the primary image's signature is validated, and serial recovery is unauthenticated by design.\nThe outcome is an out-of-bounds flash erase or copy, or a non-terminating loop, inside the bootloader: an unbootable or bricked device, with the possibility of bootloader memory corruption. That exceeds what serial recovery is designed to grant, which is only the ability to stage an image that must still pass signature verification.\nExposure requires a swap-based update backend \u2014 MCUBOOT_SWAP_USING_MOVE (the default for swap builds), MCUBOOT_SWAP_USING_SCRATCH or MCUBOOT_SWAP_USING_OFFSET; overwrite-only, direct-XIP and RAM-load builds are unaffected \u2014 together with MCUBOOT_SERIAL_RECOVERY. Without serial recovery the path is only reachable by an attacker who can already write flash directly, which is outside the threat model.\nThe fix is to treat the trailer's swap_size as untrusted: reject or clamp it in boot_swap_image() before it becomes copy_size, bounding it by the primary slot's usable image area (sector count x sector size, excluding the trailer) rather than the raw flash_area_get_size(), and aborting recovery with a non-zero error on overflow. The same guard should cover the independent boot_read_swap_size() reads in each backend's boot_read_image_header().\nhttps://www.cve.org/CVERecord?id=CVE-2026-16666https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-ggxc-7xvp-98v3#mcu-tools #mcuboot#CVE_2026_16666#bot", "url": "https://infosec.exchange/users/cve/statuses/117674097530211376"}, {"timestamp": "2026-11-25T00:17:11Z", "date_only": false, "value": "2026-11-25T00:17:11Z", "kind": "other", "label": "Nvd published at", "source": "github \u00b7 GHSA-423V-C2RC-FJ96", "record": "GHSA-423V-C2RC-FJ96", "field": "database_specific.nvd_published_at", "linked_record": true}, {"timestamp": "2026-11-25T00:17:11.647Z", "date_only": false, "value": "2026-11-25T00:17:11.647", "kind": "milestone", "label": "Published", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-16666", "record": "FKIE_CVE-2026-16666", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2026-11-25T00:36:26Z", "date_only": false, "value": "2026-11-25T00:36:26Z", "kind": "milestone", "label": "Published", "source": "github \u00b7 GHSA-423V-C2RC-FJ96", "record": "GHSA-423V-C2RC-FJ96", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2026-11-25T00:36:26Z", "date_only": false, "value": "2026-11-25T00:36:26Z", "kind": "other", "label": "Updated", "source": "github \u00b7 GHSA-423V-C2RC-FJ96", "record": "GHSA-423V-C2RC-FJ96", "field": "modified", "linked_record": true}, {"timestamp": "2026-11-25T19:52:53.653Z", "date_only": false, "value": "2026-11-25T19:52:53.653210Z", "kind": "other", "label": "Recorded", "source": "cvelistv5 / CISA-ADP", "record": "CVE-2026-16666", "field": "containers.adp.0.metrics.0.other.content.timestamp"}, {"timestamp": "2026-11-25T19:52:53.653Z", "date_only": false, "value": "2026-11-25T19:52:53.653210Z", "kind": "other", "label": "Recorded", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-16666", "record": "FKIE_CVE-2026-16666", "field": "metrics.ssvcV203.0.ssvcData.timestamp", "linked_record": true}, {"timestamp": "2026-11-25T20:02:39.367Z", "date_only": false, "value": "2026-11-25T20:02:39.367Z", "kind": "other", "label": "Updated", "source": "cvelistv5", "record": "CVE-2026-16666", "field": "cveMetadata.dateUpdated"}, {"timestamp": "2026-11-25T20:02:39.367Z", "date_only": false, "value": "2026-11-25T20:02:39.367Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / CISA-ADP", "record": "CVE-2026-16666", "field": "containers.adp.0.providerMetadata.dateUpdated"}, {"timestamp": "2026-11-25T20:18:46.843Z", "date_only": false, "value": "2026-11-25T20:18:46.843", "kind": "other", "label": "Updated", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-16666", "record": "FKIE_CVE-2026-16666", "field": "lastModified", "linked_record": true}], "metrics": {"as_of": "2026-11-27T05:29:45.226Z", "anchors": {"origin": {"timestamp": "2026-11-24T23:37:51.457Z", "date_only": false, "value": "2026-11-24T23:37:51.457Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-16666", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "discovery": null, "report": null, "acknowledgement": null, "disclosure": {"timestamp": "2026-11-24T23:37:51.457Z", "date_only": false, "value": "2026-11-24T23:37:51.457Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-16666", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "exploit_publication": null, "exploitation": null, "patch": null}, "vendor_response_time": {"available": false, "missing": ["start", "end"]}, "time_to_exploit": {"available": false, "missing": ["end"]}, "disclosure_to_exploit": {"available": false, "missing": ["end"]}, "disclosure_to_exploit_publication": {"available": false, "missing": ["end"]}, "time_to_patch": {"available": false, "missing": ["start", "end"]}, "total_time_to_patch": {"available": false, "missing": ["start", "end"]}, "disclosure_to_patch": {"available": false, "missing": ["end"]}, "time_unpatched": {"available": true, "seconds": 193913.769822, "hours": 53.86493606166667, "days": 2.244372335902778, "min_seconds": 193913.769822, "max_seconds": 193913.769822, "approximate": false, "ongoing": true, "order_known": true, "batch_listing": false, "end_before_start": false, "start": {"timestamp": "2026-11-24T23:37:51.457Z", "date_only": false, "value": "2026-11-24T23:37:51.457Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-16666", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "end": {"timestamp": "2026-11-27T05:29:45.226Z", "date_only": false, "label": "As of", "source": "Calculation clock"}}, "exploitation_to_patch": {"available": false, "missing": ["start"]}, "exploit_publication_to_patch": {"available": false, "missing": ["start"]}}}
