The Cypress/PSoC6 flash-map backend in boot/cypress/cyflashpal/cyflashmap.c guards every flash access with assert() against the wrong…
CVE-2026-16667
The Cypress/PSoC6 flash-map backend in boot/cypress/cyflashpal/cyflashmap.c guards every flash access with assert() against the wrong struct field. flasharearead(), flashareawrite(), and flashareaerase() check assert(off faoff) and assert(off + len faoff), comparing the area-relative off against the partition's absolute base address fa->faoff instead of its length fa->fasize. Because faoff 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->faoff + off with no enforcement. The MCUboot core does not bound image-region offsets itself; it relies on flasharearead() returning an error. During pre-authentication image validation, bootutilimghash() in boot/bootutil/src/bootutilimghash.c loops over ihhdrsize + ihimgsize + ihprotecttlvsize — all attacker-controlled header fields of the still-unverified update image — calling flasharearead(), 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…
Assessment
- CVSS
- 6.2 (v3.1)
- Severity
- Medium
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 25 November 2026
- Last updated
- 25 November 2026
- Assigner
- zephyr
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
At the source
References
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-16667