Skip to main content

Zephyr RTOS EUVDEUVD-2026-126668

| CVE-2026-93670 LOW
Out-of-bounds Write (CWE-787)
2026-11-16 zephyr
3.5
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

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

  1. Access
    Gain adjacency on local I3C bus
  2. Delivery
    Act as active controller or local shell
  3. Exploit
    Declare more DEFTGTS targets than DAT depth
  4. Execution
    Attach past exhausted table with pos==255
  5. Persist
    Out-of-bounds byte and MMIO stores corrupt driver state
  6. Impact
    Crash or wedged I3C bus

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires physical/logical adjacency on the target's local chip-to-chip I3C bus - there is no network-reachable path. The out-of-bounds write only occurs once the Device Address Table is exhausted, i.e. more device-attach attempts than the hardware DAT depth (read from DEVICE_ADDR_TABLE_POINTER, commonly 8 or 16 entries). The highest-value trigger requires a dual-role build: CONFIG_I3C_DUAL_ROLE together with CONFIG_I3C_USE_IBI, running as a secondary controller, where i3c_sec_handoffed() attaches one device per received DEFTGTS entry, letting a hostile or malfunctioning active controller on the bus declare more targets than the local DAT depth. Absent that build configuration, exhaustion is only reachable locally via a devicetree declaring more devices than the table holds or by repeated 'i3c attach' shell commands (requiring local shell access). Limiting factors that reduce realistic risk: physical bus access, the specific Kconfig/secondary-controller deployment mode for the remote-on-bus path, and the bounded primitive (one fixed byte at a fixed offset, no attacker-chosen data or displacement).

Impact

This is a genuinely low-priority issue across every independent signal, and they agree with one another. The CVSS 3.1 vector (AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L, base 3.5) reflects the reality described in the source: the attack surface is the local chip-to-chip I3C bus (AV:P, physical/local adjacency only), with no confidentiality impact and only Low integrity and Low availability impact. The vuln.today Decision label is 'monitor', the lowest urgency tier, consistent with the low CVSS. No EPSS score, no CISA KEV listing, and no working exploit are present in the input; absence of these is expected for a physically-local embedded-driver flaw and is not itself an anomaly. The upstream GHSA and the commit confirm the mechanism precisely (a uint8_t return type truncates the -1 exhaustion sentinel to 255, defeating every 'if (pos < 0)' guard), so the bug is real and well understood - but the vendor itself states the impact is bounded: a single byte of fixed value at a fixed displacement, with no attacker-chosen data or offset, yielding at most corruption of neighbouring static driver state, writes into reserved controller registers, or a crash/wedged bus - not a controllable memory-write primitive. There is no signal conflict here: a high-CWE class (CWE-787 out-of-bounds write) is correctly tempered by a low CVSS and a 'monitor' decision, and the physical attack vector plus bounded primitive make this a hardening fix rather than an emergency. The one nuance worth noting is reachability: in a CONFIG_I3C_DUAL_ROLE + CONFIG_I3C_USE_IBI secondary-controller build, the attach count comes from the bus's active controller's DEFTGTS list, so a hostile or malfunctioning on-bus controller can trigger exhaustion remotely-over-the-bus (though still not network-reachable).

Exploit ScenarioDerived

On a Zephyr device built as an I3C secondary controller (CONFIG_I3C_DUAL_ROLE + CONFIG_I3C_USE_IBI), a hostile or malfunctioning active controller on the same physical I3C bus sends a DEFTGTS list declaring more targets than the local Device Address Table depth (commonly 8 or 16). Each surplus entry drives an attach with pos==255, producing an out-of-bounds byte write ~223 bytes past the dw_i3c_i2c_priv_data array and a 32-bit MMIO store 1020 bytes past the DAT base, corrupting adjacent driver state or wedging the bus. No public working exploit is identified; a patch commit and GHSA advisory exist but no verified exploit code.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 16, 2026

An out-of-bounds write in Zephyr's Synopsys DesignWare I3C controller driver (drivers/i3c/i3c_dw.c) lets the Device Address Table exhaustion guard fail silently, so an attach attempted on a full table indexes slot 255 and writes memory past the 32-element dw_i3c_i2c_priv_data array, past struct dw_i3c_data, and performs a 32-bit MMIO store 1020 bytes beyond the hardware DAT base. Affects Zephyr releases from 4.1.0 up to but not including 4.3.2, and from 4.4.0 up to but not including 4.5.0. The primitive is bounded - one byte of fixed value at a fixed displacement with no attacker-chosen data or offset - so the realistic outcome is corruption of neighbouring static driver state, writes into reserved controller registers, and inconsistent bookkeeping (a crash or a wedged I3C bus) rather than a controllable write primitive. Reachability requires physical/logical adjacency on the local chip-to-chip I3C bus: the highest-value path is a dual-role build (CONFIG_I3C_DUAL_ROLE with CONFIG_I3C_USE_IBI) acting as a secondary controller, where a hostile or malfunctioning active controller can declare more DEFTGTS targets than the local DAT depth; otherwise exhaustion needs a devicetree that over-declares devices or repeated local 'i3c attach' shell commands. No public exploit code is identified in the available data, no CISA KEV listing applies, and the vuln.today priority decision is monitor.

RemediationAI

Vendor-released patch: Zephyr 4.3.2 and 4.5.0. Upgrade to 4.3.2 (for the 4.3 line) or 4.5.0 (for the 4.4 line) - the fix keeps get_free_pos() and its callers signed so the -1 exhaustion sentinel is no longer truncated to 255 and the pos < 0 guard actually fires; it was merged to main as commit 1df24c85842da26b24c14b7cfcd51928a86b5530 (PR #118929), with backports via PR #120020 on v4.4-branch and PR #120019 on v4.3-branch. Deployments that cannot move to a fixed release can reduce exposure by not running the affected driver in the dual-role secondary-controller configuration (CONFIG_I3C_DUAL_ROLE together with CONFIG_I3C_USE_IBI), which is the path where a hostile or malfunctioning active controller on the local I3C bus controls the number of attach attempts; note the trade-off that this removes secondary-controller functionality from the device. Keeping devicetree device declarations within the hardware DAT depth reported at DEVICE_ADDR_TABLE_POINTER (commonly 8 or 16 entries) avoids exhausting the table from static configuration, and restricting access to the local 'i3c attach' shell commands removes the other local exhaustion trigger, at the cost of losing those debug/commissioning interfaces. Because the attack vector is the local chip-to-chip I3C bus with no network-reachable path, physical and bus-level access control remains relevant until the update is applied. Advisory: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-5jhj-95j8-x5gf.

Affected VersionsENISA

Zephyr 4.1.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

The flaw is a signedness defect (CWE-787, out-of-bounds write) in the DesignWare I3C driver's slot allocator rather than in the I3C protocol handling itself. get_free_pos() computes the first free DAT slot via find_lsb_set(0) - 1 and signals exhaustion with -1, but the helper was declared uint8_t, truncating the sentinel to 255; both callers, dw_i3c_attach_device() and dw_i3c_i2c_attach_device(), additionally cached the result in a uint8_t local before testing if (pos < 0), a comparison that can never be true for an unsigned type. The guard was therefore inert in every build, including the dw_i3c_do_aa() primary-controller path where an int32_t local receives the already-truncated value. With pos == 255 the attach writes data->dw_i3c_i2c_priv_data[255].id - DW_I3C_MAX_DEVS is 32 and the array elements are one byte, placing the write 223 bytes past the array and beyond struct dw_i3c_data - stores that out-of-bounds address in desc->controller_priv for later detach/reattach/IBI use, and programs the hardware through DEV_ADDR_TABLE_LOC(start, idx), i.e. start + (idx << 2), landing 1020 bytes past the DAT base. The attach still returns success, so the upper layer believes the device is bound. Exhaustion is practical because the hardware DAT depth read from DEVICE_ADDR_TABLE_POINTER is commonly only 8 or 16 entries (free_pos = GENMASK(maxdevs - 1, 0)), far smaller than the 32-entry software array, and the dual-role secondary-controller path derives its attach count from the wire: i3c_sec_handoffed() in drivers/i3c/i3c_common.c attaches one device per entry of the DEFTGTS list captured from the bus's active controller. The fix, present since the driver was introduced by e9ea97e92d2, is to keep the return type and both locals signed (int) so the -1 sentinel and the pos < 0 check behave as intended.

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 3.5 LOW
AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
vuln.today AI 3.5 LOW

Local I3C bus only so AV:P; guard is unconditionally inert so AC:L and PR:N; no data disclosure gives C:N; a fixed-byte OOB write yields only I:L and A:L (corruption/crash).

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

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

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

DescriptionCVE.org

The Synopsys DesignWare I3C controller driver (drivers/i3c/i3c_dw.c) tracks free Device Address Table (DAT) slots with get_free_pos(), which signals an exhausted table by returning -1. The helper declared its return type as uint8_t, so the sentinel was truncated to 255, and both consumers (dw_i3c_attach_device() and dw_i3c_i2c_attach_device()) also stored it in a uint8_t before testing if (pos < 0) - a comparison that is never true for an unsigned value. The exhaustion guard was therefore inert in every build.

With the guard defeated, an attach attempted on a full DAT proceeds with pos == 255: it writes data->dw_i3c_i2c_priv_data[255].id, more than 200 bytes past the end of the 32-element dw_i3c_i2c_priv_data array and past the end of struct dw_i3c_data; it stores the resulting out-of-bounds address in desc->controller_priv, from which later detach, reattach and IBI operations read the slot index back; and it performs a 32-bit MMIO store 1020 bytes beyond the hardware DAT base, outside the table the controller reports. The attach still returns success, so the upper layer believes the device is bound.

The DAT is smaller than the software array (its depth is read from DEVICE_ADDR_TABLE_POINTER, commonly 8 or 16 entries), so exhaustion is reachable. In a dual-role build (CONFIG_I3C_DUAL_ROLE with CONFIG_I3C_USE_IBI) acting as a secondary controller, the attach count is supplied by the bus's active controller: i3c_sec_handoffed() attaches one device per entry of the received DEFTGTS list, so a hostile or malfunctioning controller on the local I3C bus that declares more targets than the local DAT depth triggers the condition once per surplus entry. Exhaustion can also be reached from a devicetree that declares more devices than the table holds, or by repeated i3c attach shell commands.

Impact is bounded: the out-of-bounds store is a single byte of fixed value at a fixed displacement, with no attacker-chosen data or offset, so the realistic outcomes are corruption of neighbouring static driver state, writes into reserved controller registers, and inconsistent driver bookkeeping (a crash or a wedged I3C bus) rather than a controllable memory-write primitive. The attack vector is the local chip-to-chip I3C bus; there is no network-reachable path.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche I3C DesignWare driver in Zephyr dual-role/IBI embedded builds only
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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