Skip to main content

Zephyr RTOS EUVDEUVD-2026-137831

| CVE-2026-104378 HIGH
Out-of-bounds Write (CWE-787)
2026-11-29 zephyr
8.8
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

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

  1. Access
    User thread granted I3C device access
  2. Delivery
    Submit direct CCC payload with >16 targets
  3. Exploit
    Trigger unbounded xfer->cmds[] write loop
  4. Execution
    Overwrite device-index table and deftgts_work
  5. Impact
    Achieve privilege escalation or kernel DoS

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

Requires all of: a Zephyr build with CONFIG_USERSPACE enabled; use of the Synopsys DesignWare I3C controller driver (drivers/i3c/i3c_dw.c); and a user-mode thread that has already been granted access to the I3C controller device object. The attacker must issue a direct CCC via i3c_do_ccc() with payload->targets.num_targets greater than 16 (DW_I3C_MAX_CMD_BUF_SIZE); each target only needs an address the controller already knows and the same address may be repeated. Limiting factors: this is local-only (not remote), the released z_vrfy_i3c_do_ccc() handler placed no upper bound on num_targets so the unbounded path is reachable, and builds WITHOUT CONFIG_USERSPACE are exposed only to their own in-kernel application code (in-tree callers only issue single-target direct CCCs). Not exploitable against devices that do not use this driver or do not grant the device to untrusted threads.

Impact

The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, 8.8) is internally consistent with the description: exploitation is local via the i3c_do_ccc() system call (AV:L), requires low privileges because the attacking user-mode thread must already have been granted access to the I3C controller device under CONFIG_USERSPACE (PR:L), needs no user interaction, and crosses a trust boundary from unprivileged thread into supervisor-mode kernel memory (S:C) with full memory corruption yielding high confidentiality, integrity and availability impact. This is a genuine local privilege-escalation/DoS primitive, not an inflated score. However, it is NOT a remote or internet-facing issue, which tempers real-world urgency: an attacker must already run code on the device AND hold a grant to the I3C device object. No EPSS score, KEV listing, or confirmed working exploit was supplied, so there is no signal of widespread or automated exploitation; the vuln.today Decision label is 'this_week' (not act_now/emergency), consistent with a patch-promptly posture rather than a drop-everything emergency. Exploitability is well understood from the vendor source diff, but exposure is gated by a specific build configuration and driver, so prioritize for affected Zephyr deployments while treating broad mass-exploitation risk as low.

Exploit ScenarioDerived

On a CONFIG_USERSPACE Zephyr build using the Synopsys DesignWare I3C driver, an unprivileged user-mode thread that has been granted access to the I3C controller invokes the i3c_do_ccc() syscall with a direct CCC payload naming more than 16 targets (the same already-known controller address may be repeated to satisfy the lookup). The driver stores num_targets in xfer->ncmds and writes attacker-influenced command descriptors past the 16-entry cmds[] array in supervisor mode before any bus transaction, corrupting the driver's device-index table, deftgts_work work item, and adjacent kernel memory for privilege escalation or denial of service. No public exploit code was identified; the attack is local (AV:L) and low-complexity (AC:L).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 29, 2026

An out-of-bounds write in Zephyr's Synopsys DesignWare I3C controller driver lets an unprivileged user-mode thread corrupt supervisor-mode kernel memory through the i3c_do_ccc() system call, giving high confidentiality, integrity and availability impact and a realistic path to privilege escalation or denial of service. Only builds with CONFIG_USERSPACE that expose the DesignWare I3C controller device to an untrusted thread are exploitable; the attacker simply supplies a direct CCC payload whose target count exceeds the 16-entry command descriptor array, and each target only needs an address the controller already knows (the same address may be repeated). Affected releases are Zephyr 4.1.0 through 4.3.1 and 4.4.0 through 4.4.x, fixed in 4.3.2 and 4.5.0; this is a local, low-privilege issue rated 8.8, and no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to Zephyr 4.3.2 or 4.5.0, which add a num_targets > DW_I3C_MAX_CMD_BUF_SIZE check that returns -ENOTSUP before xfer->ncmds is set and the descriptor loop runs (main commit a7986d606ce0a78060abf1ac37f2dfc69568c7a5, backported through PR #117177 on main, PR #121304 on v4.4-branch and PR #121303 on v4.3-branch; advisory GHSA-gfvp-74wv-q953). Release lines that have not taken the backport remain affected. Note that the v4.5.0-rc1 handler-only change bounding num_targets to <32 is still above the 16-entry array, so the driver-side check is what actually closes the bug. If an upgrade cannot be applied immediately, the actionable compensating controls are to disable CONFIG_USERSPACE (trade-off: all application threads then run with supervisor privileges, removing memory isolation across the whole system) or, keeping userspace enabled, to stop granting the DesignWare I3C controller device object to untrusted user-mode threads and audit any existing device access grants (trade-off: legitimate userspace I3C clients can no longer issue CCCs, including i3c_do_ccc), since in-tree kernel callers only ever issue single-target direct CCCs and are unaffected.

Affected VersionsENISA

Zephyr 4.4.0 <4.5.0
Zephyr 4.1.0 <4.3.2

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 classic CWE-787 out-of-bounds write in drivers/i3c/i3c_dw.c. The driver defines DW_I3C_MAX_CMD_BUF_SIZE as 16 and embeds a struct dw_i3c_xfer, containing cmds[16], directly inside its per-instance struct dw_i3c_data, which is followed by mode, dw_i3c_i2c_priv_data[32], and (when both controller and target roles are enabled) the device pointer and the k_work deftgts_work. dw_i3c_do_ccc() stored payload->targets.num_targets into xfer->ncmds and then filled xfer->cmds[i] for every target without validating the count, so more than 16 targets pushed command descriptors past the end of the structure into adjacent driver state and whatever memory follows. The descriptors contain largely caller-controlled values (data length, defining byte, CCC id, a user buffer pointer and transfer lengths), making the overflow a controllable write rather than a blind one, and the completion loop and start_xfer also iterate over ncmds, extending the impact to out-of-bounds reads. Reachability comes from i3c_do_ccc being a __syscall that dispatches straight to api->do_ccc: in released versions the z_vrfy_i3c_do_ccc() handler in drivers/i3c/i3c_handlers.c validated only that the caller's target array was accessible user memory, with no upper bound on num_targets, so the writes are performed in supervisor mode. In-kernel direct-CCC helpers in drivers/i3c/i3c_ccc.c always set num_targets = 1, which is why builds without CONFIG_USERSPACE are only exposed to their own application code.

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 8.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Reached only via a local syscall by a thread already granted the I3C device (AV:L, PR:L); no bound check means reliable triggering (AC:L); user-to-kernel memory corruption crosses scope (S:C) with full C/I/A impact.

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

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

The Synopsys DesignWare I3C controller driver (drivers/i3c/i3c_dw.c) builds one command descriptor per target when issuing a direct CCC in dw_i3c_do_ccc(). It stored payload->targets.num_targets in xfer->ncmds and filled xfer->cmds[i] for every target without checking the count against the size of the cmds[] array (DW_I3C_MAX_CMD_BUF_SIZE, 16 entries). A direct CCC with more than 16 targets wrote command descriptors past the end of struct dw_i3c_xfer, which is embedded in the driver's per-instance struct dw_i3c_data.

i3c_do_ccc() is a system call. On builds with CONFIG_USERSPACE, a user-mode thread that has been granted access to the I3C controller device can supply the payload. In released versions the z_vrfy_i3c_do_ccc() handler only checked that the caller's target array was accessible user memory and placed no upper bound on num_targets; the driver therefore performed the out-of-bounds writes in supervisor mode. The only requirement for each target is an address the controller already knows (the same address may be repeated), and the writes happen before any bus transaction.

The overflowing descriptors contain values the caller largely controls (data length, defining byte, CCC id, a user buffer pointer and transfer lengths). They overwrite the rest of the driver data, including the device-index table, the deftgts_work work item and device pointer when both controller and target roles are enabled, and any memory that follows. This lets an unprivileged thread corrupt kernel memory, which can lead to privilege escalation or denial of service. In-kernel callers in the tree only issue single-target direct CCCs, so builds without CONFIG_USERSPACE are only exposed to their own application code.

Technical POC Analysis

CWE-787 (out-of-bounds write) in the Synopsys DesignWare I3C controller driver, drivers/i3c/i3cdw.c, function dwi3cdoccc().

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the Zephyr RTOS Synopsys DesignWare I3C controller driver allows an unprivileged user-mode thread to corrupt supervisor-mode kernel memory, potentially leading to privilege escalation or denial of service. Affected products are those running Zephyr versions 4.1.0 through 4.3.1 and 4.4.0 through 4.4.x with the userspace feature enabled and the I3C controller exposed to untrusted code. This poses a significant risk to device integrity and availability in such configurations, and leadership should prioritize remediation to prevent potential system compromise.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche embedded I3C driver, exposed only on CONFIG_USERSPACE Zephyr builds
Social Media
4
Sightings
Data Quality
4 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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

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.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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