Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessWrite chosen bytes into app-exposed ZMS value
-
DeliveryForged ATE lands in sector payload area
-
ExploitDevice remounts ZMS store
-
ExecutionRecovery scan adopts forged entry as newest
-
ImpactOverride key reads and corrupt persistent settings
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Calculation correctness
|
| Exploitation Conditions | Exploitation requires all of the following: (1) the application must persist roughly 16 bytes of attacker-chosen content into a ZMS value via some exposed path, which the advisory exemplifies as a BLE-writable device name, provisioned credentials, or configuration received over the network; (2) the newest ATE in the active flash sector must be an inline entry (value 8 bytes or less) or a delete entry, so the recovery scan runs past the ATE area into the payload; (3) the planted bytes must satisfy zms_ate_valid()'s weak check - a CRC8 plus a one-byte sector cycle count match; and (4) the forged entry only takes effect after the next mount/reboot of the store. Limiting factors that reduce realistic risk: the attacker needs an application feature that stores their data into ZMS, a reboot/remount must occur, the specific sector-layout condition must hold, and the impact is confined to the active flash sector and to values ZMS returns to its callers (no out-of-partition write, no RAM overflow, no confidentiality disclosure to the attacker). Affected versions are >= 4.0.0, < 4.3.2 and >= 4.4.0, < 4.5.0; updating to 4.3.2 or 4.5.0 is the fix. |
| Impact | This is a moderate-priority issue, not a critical one. The vendor CVSS of 5.9 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L) reflects high integrity impact but high attack complexity, and the real-world signals agree it is not urgent: the input shows no CISA KEV listing and provides no EPSS score, and the vuln.today decision label is 'this_month' rather than act_now/emergency. No confirmed working exploit code is in the input - the advisory notes the flaw was found when random stored data accidentally satisfied the weak CRC8/cycle-count check (GitHub issue #119632), which demonstrates the condition can occur but is not a weaponized exploit. The AV:N rating is justified by the data-injection path (the forged bytes can arrive via a BLE-writable device name, provisioned credentials, or network-received configuration that the application persists into ZMS), but exploitation is gated by several stacked preconditions (attacker-controlled content persisted, the newest ATE in the sector being inline or a delete, a passing CRC8/cycle match, and a subsequent mount), which is consistent with AC:H and keeps mass exploitation unlikely. Net: a genuine integrity/configuration-corruption bug worth patching in a normal cycle, not a drop-everything emergency. Note the absence of EPSS data limits probabilistic exploitation estimation. |
| Exploit ScenarioDerived | An attacker who can get roughly 16 bytes of chosen content persisted into an application-exposed ZMS value - for example a BLE-writable device name, provisioned credentials, or network-supplied configuration - plants a forged allocation table entry in the sector's payload area. After the next device mount or reboot, the ZMS recovery scan mis-reads that payload as the newest ATE and adopts it, letting the attacker override what later reads of a chosen key return and corrupt other persistent settings. No confirmed working exploit is published; the condition was originally observed through random data chance-matching the weak CRC8-plus-cycle check, and the AC:H rating reflects the layout and timing preconditions required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
Forged allocation-table entries in the Zephyr Memory Storage (ZMS) key-value store can override the value returned for any chosen key id and silently corrupt other persistent entries in the active flash sector. The flaw is an incorrect data-area bound in zms_recover_last_ate() and affects Zephyr >= 4.0.0, < 4.3.2 and >= 4.4.0, < 4.5.0; the assessed vector is CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L, reflecting a low-privilege position, high attack complexity and integrity-only impact with no confidentiality or RAM out-of-bounds exposure. Exploitation requires the application to persist roughly 16 bytes of attacker-chosen content into a ZMS value, the newest entry in the active sector to be an inline (8 bytes or less) or delete entry, the planted bytes to satisfy a CRC8 plus one-byte cycle-count check, and a subsequent remount/reboot; no public exploit code was identified at time of analysis and the issue was originally discovered through an accidental random-data match.
RemediationAI
Vendor-released patch: update to Zephyr 4.3.2 or 4.5.0 - the fix is commit a1fe3a123726e821ff16205be86e4a37d696761b on main (PR #119635), with backports merged on v4.4-branch (PR #120066) and v4.3-branch (PR #120915), as listed in advisory GHSA-h4rx-fm5f-vh9r; any release line without those backports remains affected. The advisory names updating to the fixed releases as the fix and does not document a code-level workaround, so products built on 4.0.0-4.3.1 or 4.4.0 are exposed until rebuilt against 4.3.2 or 4.5.0. Because exploitation depends on the application persisting roughly 16 bytes of attacker-supplied content into a ZMS value and on a remount occurring afterwards, reducing which untrusted inputs (for example remote-supplied device names, credentials or configuration) are written into ZMS limits exposure, but that only lowers the attack surface and is not a substitute for the patched release.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ZMS is Zephyr's flash-based key-value store, organised as sectors containing an allocation table area of struct zms_ate records followed by a payload area. The root cause is tracked as CWE-682 (incorrect calculation): in zms_recover_last_ate(), the scan bound compares the ATE address against data_end_addr, but every ATE that validated during the mount scan reset data_end_addr back to the sector start (data_end_addr &= ADDR_SECT_MASK) instead of only advancing it for entries that actually carry out-of-line data. Consequently, when the newest ATE in the active sector is an inline entry or a delete entry, the loop keeps going past the ATE area and interprets payload bytes as zms_ate records. The only gate on those bytes is zms_ate_valid(), which checks that the one-byte cycle count matches the sector cycle and that the CRC8 is correct - both satisfiable by crafted content. A payload slot accepted as an ATE is then adopted by zms_init() as fs->ate_wra and fs->data_wra, so later reads of a matching id return the forged entry's inline data or the bytes at sector+offset for MIN(len, ate.len), and later writes place ATEs and payloads over other entries' existing data. Per the advisory's evidence, the write-space check keeps writes inside the active sector, so impact is flash data corruption and incorrect read results rather than an out-of-partition write or a RAM overflow. The unconditional reset was present in every release since ZMS was introduced (d4e246dfa1f2, first shipped in v4.0.0); the upstream fix moves the data_end_addr assignment inside the len > ZMS_DATA_IN_ATE_SIZE branch while unconditionally updating the ATE write address.
Know when Zephyr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
Forged bytes can arrive via remote app-stored data (AV:N) but need a specific sector layout, CRC/cycle match and a remount (AC:H); integrity override is high and config corruption gives A:L, with no disclosure (C:N).
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
DescriptionCVE.org
The mount-time recovery scan of the Zephyr Memory Storage (ZMS) key-value store, zms_recover_last_ate() in subsys/kvss/zms/zms.c (subsys/fs/zms/zms.c in older releases), computes the end of the sector's data area incorrectly. Every valid allocation table entry (ATE) reset the data-end bound to the start of the sector, including entries whose value is stored inline (8 bytes or less) and delete entries. When the newest ATE in the active sector is one of these, the scan continues past the ATE area into the payload area and reads stored value bytes as struct zms_ate records.
Any payload slot that passes the ATE check (a CRC8 plus the one-byte sector cycle count) is adopted as the newest entry. zms_init() then sets fs->ate_wra and fs->data_wra from it. The pointers are only this weak check away from data an application may have stored on behalf of a remote party: a BLE-writable device name, provisioned credentials, or configuration received over the network. An attacker who can get about 16 bytes of chosen content persisted in a ZMS value can plant a forged ATE. The forged entry takes effect after the next mount, provided the newest entry in that sector is small or a delete. Random data can also match by chance, which is how the issue was found.
A forged or accidentally matched ATE overrides the stored entry for any chosen id. Its inline data or its offset/len pointer controls what later reads of that key return. The misplaced write pointers also make later writes place ATEs and payloads over other entries' existing data, silently corrupting persistent configuration such as settings values stored in ZMS. The effects are limited to the active flash sector and to what ZMS returns to its callers. No RAM out-of-bounds access was identified.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),
An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on
Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit
Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS
Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner
Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability
Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul
zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(
Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul
The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte
Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c
EUVD-2026-133380
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB