<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 25 Nov 2026 02:29:16 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-16667 — Cypress/PSoC6 flash backend fails to bounds-check flash accesses, allowing pre-auth out-of-bounds reads</title>
      <link>https://db.gcve.eu/vuln/cve-2026-16667</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; mcu-tools mcuboot&lt;/p&gt;
&lt;p&gt;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 &amp;lt; fa-&amp;gt;fa_off) and assert(off + len &amp;lt; fa-&amp;gt;fa_off), comparing the area-relative off against the partition&amp;#39;s absolute base address fa-&amp;gt;fa_off instead of its length fa-&amp;gt;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-&amp;gt;fa_off + off with no enforcement.&lt;/p&gt;
&lt;p&gt;The 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.&lt;/p&gt;
&lt;p&gt;The out-of-bounds access is in the source address…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; mcu-tools mcuboot&lt;/p&gt;
&lt;p&gt;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 &amp;lt; fa-&amp;gt;fa_off) and assert(off + len &amp;lt; fa-&amp;gt;fa_off), comparing the area-relative off against the partition&amp;#39;s absolute base address fa-&amp;gt;fa_off instead of its length fa-&amp;gt;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-&amp;gt;fa_off + off with no enforcement.&lt;/p&gt;
&lt;p&gt;The 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.&lt;/p&gt;
&lt;p&gt;The out-of-bounds access is in the source address…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-16667</guid>
    </item>
  </channel>
</rss>
