Skip to main content

Zephyr ZMS CVE-2026-102950

| EUVDEUVD-2026-133380 MEDIUM
Incorrect Calculation (CWE-682)
2026-11-23 zephyr
5.9
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Write chosen bytes into app-exposed ZMS value
  2. Delivery
    Forged ATE lands in sector payload area
  3. Exploit
    Device remounts ZMS store
  4. Execution
    Recovery scan adopts forged entry as newest
  5. Impact
    Override 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Zephyr 4.0.0 <4.3.2
Zephyr 4.4.0 <4.5.0

Affected Packages

euvd zephyr fix: 4.3.2, 4.5.0

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

Vendor (zephyr) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
vuln.today AI 5.9 MEDIUM

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).

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low

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

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Medium
popular embedded/IoT RTOS, but ZMS is a new optional storage backend
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Zephyr

View all
CVE-2023-4260 CRITICAL POC
10.0 Sep 27

Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),

CVE-2026-1678 CRITICAL POC
9.8 Mar 05

An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on

CVE-2023-5055 CRITICAL POC
9.8 Nov 21

Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2023-4257 CRITICAL POC
9.8 Oct 13

Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS

CVE-2023-3725 CRITICAL POC
9.8 Oct 06

Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner

CVE-2021-3323 CRITICAL POC
9.8 Oct 12

Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2021-3625 CRITICAL POC
9.8 Oct 05

Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable

CVE-2021-3319 CRITICAL POC
9.8 Oct 05

DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul

CVE-2018-1000800 CRITICAL POC
9.8 Sep 06

zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(

CVE-2023-4264 CRITICAL POC
9.6 Sep 27

Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul

CVE-2024-1638 CRITICAL POC
9.1 Feb 19

The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte

CVE-2023-5753 HIGH POC
8.8 Oct 25

Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy