{"id":"CVE-2026-16667","aliases":[],"cve":{"records":[{"id":"CVE-2026-16667","source":"zephyr","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-07-22T19:47:58.574Z","published":"2026-11-24T23:37:52.740Z","modified":"2026-11-25T20:02:22.377Z"}],"publishers":[{"name":"zephyr","role":"CNA","organizationId":"e2e69745-5e70-4e92-8431-deb5529a81ad","modified":"2026-11-24T23:37:52.740Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-25T20:02:22.377Z"}],"references":[{"url":"https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-hmjp-wh26-xc9h","tags":[],"source":"zephyr"}],"weaknesses":[{"id":"CWE-125","description":"bounds","source":"zephyr"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-25T19:53:01.794537Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"Cypress/PSoC6 flash backend fails to bounds-check flash accesses, allowing pre-auth out-of-bounds reads","titleSource":"zephyr","descriptionSource":"zephyr","description":"The Cypress/PSoC6 flash-map backend in boot/cypress/cy_flash_pal/cy_flash_map.c guards every flash access with assert() against the wrong struct field. flash_area_read(), flash_area_write(), and flash_area_erase() check assert(off < fa->fa_off) and assert(off + len < fa->fa_off), comparing the area-relative off against the partition's absolute base address fa->fa_off instead of its length fa->fa_size. Because fa_off is a large absolute address, realistic out-of-partition offsets pass the check even in a debug build, and under NDEBUG the asserts are removed entirely. The access then proceeds as memcpy() (or a flash row op) at fa->fa_off + off with no enforcement.\n\nThe MCUboot core does not bound image-region offsets itself; it relies on flash_area_read() returning an error. During pre-authentication image validation, bootutil_img_hash() in boot/bootutil/src/bootutil_img_hash.c loops over ih_hdr_size + ih_img_size + ih_protect_tlv_size — all attacker-controlled header fields of the still-unverified update image — calling flash_area_read(), and the TLV iterator in boot/bootutil/src/tlv.c reads attacker-derived offsets the same way. An attacker who can stage a crafted image in the secondary/update slot (via OTA, DFU, or serial recovery, depending on the product) declares an oversized ih_img_size, causing reads far past the partition. A correct backend would reject these and fail validation cleanly; the Cypress backend does not.\n\nThe out-of-bounds access is in the source address of the copy — the destination buffer is correctly sized — so there is no memory corruption, no information disclosure to the attacker (the data is only folded into a hash that still fails the signature check), and no authentication bypass. The realistic impact is a bus fault or hang when the computed absolute address lands on an unmapped or peripheral region of the PSoC6 address map: the bootloader crashes instead of rejecting the bad image, an availability (denial-of-service) impact. The defect is specific to the Cypress/PSoC6 port; mainline Zephyr/sim/mynewt backends are unaffected. The identical broken guard in the write/erase primitives is a latent out-of-bounds-write gap, but no attacker-controlled out-of-bounds offset was found to reach those (serial-recovery uploads are bounded by the core), so the reachable memory-safety bug is the out-of-bounds read.","score":6.2,"severity":"medium","published":"2026-11-24T23:37:52.740Z","modified":"2026-11-25T20:02:22.377Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"mcu-tools","name":"mcuboot","platforms":[],"versions":[{"version":"1.6.0","status":"affected","lessThanOrEqual":"*","versionType":"semver"}],"defaultStatus":"unaffected","cpes":[],"source":"zephyr","url":"https://www.cve.org/CVERecord?id=CVE-2026-16667"}],"remediation":[],"references":["https://github.com/mcu-tools/mcuboot/security/advisories/GHSA-hmjp-wh26-xc9h"],"sources":[{"name":"CVE","id":"CVE-2026-16667","modified":"2026-11-25T20:02:22.377Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-16667"}],"assessments":[{"source":"zephyr","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2}],"sourceAffected":[],"observedAt":"2026-11-25T21:09:37.610Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T03:45:30.949Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-25T00:25:31.445Z","attemptedAt":"2026-11-25T00:25:31.445Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-25T00:25:31.445Z","attemptedAt":"2026-11-25T00:25:31.445Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-25T00:25:31.445Z","attemptedAt":"2026-11-25T00:25:31.445Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-25T00:25:31.473Z","attemptedAt":"2026-11-25T00:25:31.473Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-16667","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16667","modified":"2026-11-25T00:17:11.790","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","checkedAt":"2026-11-25T00:25:31.445Z"}],"aiSummary":{"text":"The Cypress/PSoC6 flash backend in mcuboot 1.6.0 and earlier fails to bounds-check flash accesses, allowing pre-auth out-of-bounds reads. An attacker can stage a crafted image, causing reads past the partition, which may lead to a bus fault or hang. The impact is a denial-of-service vulnerability.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-25T00:26:10.052Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-16667"}]}}