Skip to main content

Zephyr RTOS EUVDEUVD-2026-133386

| CVE-2026-100374 HIGH
Untrusted Pointer Dereference (CWE-822)
2026-11-23 zephyr
7.8
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

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

  1. Access
    Run user thread granted SMBus access
  2. Delivery
    Call smbus_block_read with kernel address
  3. Exploit
    Verifier skips receive-buffer validation
  4. Execution
    Driver writes bus bytes to kernel memory
  5. Impact
    Corrupt kernel state or escalate privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Untrusted pointer prevention
Exploitation Conditions

Requires a system built with CONFIG_USERSPACE and at least one SMBus driver compiled in (Intel PCH, STM32, or ITE IT51xxx), plus a user-mode thread that has been explicitly granted access to the SMBus device object via k_object_access_grant. The attacker must be able to run local user-mode code and reach the smbus_block_read()/smbus_block_pcall() __syscall interface. Exploitation is limited by: no effect on builds without CONFIG_USERSPACE (explicitly not affected); the need for a pre-existing device-object access grant (PR:L); reliance on influencing peripheral-returned content to make the kernel write useful (the reporter observed the PoC does not succeed on every run); and the write size being capped at SMBUS_BLOCK_BYTES_MAX (32 bytes) on PCH/ITE, with the STM32 driver's larger write tracked as a separate issue.

Impact

This is a genuine local privilege-escalation primitive rather than an inflated high-CVSS issue, but its reach is gated by configuration. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H, 7.8) is internally consistent with the mechanism: a CONFIG_USERSPACE user-mode thread (PR:L, AV:L) that holds an access grant to an SMBus device object invokes the smbus_block_read()/smbus_block_pcall() syscalls, whose verifiers validated the device, count pointers and (for pcall) the send buffer but omitted a K_SYSCALL_MEMORY_WRITE() check on the receive buffer, letting the supervisor-mode driver write bus-supplied bytes to an attacker-chosen kernel address (S:C, C/I/A:H via the resulting kernel write). AC:H and the reporter's own note that the PoC 'doesn't succeed every time' reflect that the written content, though placed at a fully controlled address, originates from the peripheral and must be influenced via choice of peripheral/command or an echo-back device. No EPSS score, KEV entry, or SSVC exploitation/automatable fields were supplied, so I cannot cite a quantitative exploitation probability; the vuln.today decision label is 'this_week' (not act_now/emergency). The feature is not actively exploited per the absence of KEV, but a complete, demonstrated proof-of-concept is embedded in the Zephyr GHSA advisory, so exploitability is proven, not theoretical. Net: prioritize patching on affected builds, but real-world exposure is limited to systems that both enable CONFIG_USERSPACE and grant untrusted threads access to an SMBus device.

Exploit ScenarioDerived

On a CONFIG_USERSPACE build, a low-privilege user thread that has been granted access to an SMBus device object calls smbus_block_read() (or smbus_block_pcall()) passing a kernel or cross-thread address as the receive buffer; because the verifier never validates that buffer, the supervisor-mode driver writes up to 32 peripheral-supplied bytes (up to 255 on the STM32 driver) into that address. A working proof-of-concept is published in the vendor's GHSA advisory and demonstrated on qemu_x86_64, showing supervisor memory overwritten with bus-controlled bytes (EXP_SUCCESS). The attacker influences the written content by choosing the peripheral/command or by first writing to a device that echoes the data back, yielding a kernel write primitive usable for privilege escalation. Local access and complexity around reliable content control (AC:H) temper, but do not remove, the threat.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 23, 2026

Kernel memory write in the Zephyr RTOS SMBus subsystem lets a user-mode thread redirect peripheral-supplied data into an arbitrary supervisor address on builds with CONFIG_USERSPACE. The syscall verifiers for smbus_block_read() and smbus_block_pcall() validate the device object, the count pointers and (for process call) the send buffer, but never the receive buffer, so the driver, executing in supervisor mode, writes up to SMBUS_BLOCK_BYTES_MAX (32) bytes through an attacker-chosen pointer and breaks the user/kernel isolation boundary. Zephyr releases 3.4.0 through 4.x before 4.5.0 are affected; the vendor shipped a fix in 4.5.0 with backports in progress, there is no CISA KEV entry and no confirmed active exploitation, and the advisory includes a public proof-of-concept that the reporter notes does not succeed on every run.

RemediationAI

Vendor-released patch: upgrade to Zephyr 4.5.0, which contains commit 2206109f3f705bcb6ba415a54c1c9ace8cb9779e adding K_SYSCALL_MEMORY_WRITE() validation of the receive buffer in z_vrfy_smbus_block_read() and z_vrfy_smbus_block_pcall(); the same commit can be cherry-picked to older trees, and the vendor's patch table lists the backport for v3.7-branch (#121229) as merged, v4.4-branch (#121231) as still open, and v4.3-branch (#121230) as end of life, so release lines that have not taken the backport remain affected. Details are in the advisory at https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-jm6g-v88h-f7c6. If an upgrade is not immediately possible, the exposure is limited to systems built with CONFIG_USERSPACE plus an SMBus driver; dropping CONFIG_USERSPACE removes the affected verifier path entirely (at the cost of losing user/kernel memory isolation for the whole application), and keeping SMBus device objects out of k_object_access_grant() for untrusted threads removes the attacker's route into the syscall (at the cost of denying those threads legitimate SMBus access). The separate STM32 peripheral-length overflow tracked as GHSA-9xp6-5g46-jvrg requires its own fix (commit fec8353553c) in addition to this patch.

Affected VersionsENISA

Zephyr 3.4.0 <4.5.0

Affected Packages

euvd zephyr fix: 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

Zephyr's userspace model routes __syscall-defined APIs through z_vrfy_* verification handlers that run in supervisor mode and must confirm every user-supplied pointer before dispatching to a driver; the smbus_block_read() and smbus_block_pcall() handlers omitted that step for the output buffer, which is a CWE-822 untrusted-pointer-dereference flaw. The SMBus subsystem (introduced by commit adff73d618b, first released in v3.4.0) exposes these calls via syscalls, so a user thread holding an access grant to an SMBus device object can pass a kernel address as buf/rcv_buf and the underlying driver copies received bytes there in supervisor mode: the Intel PCH and ITE IT51xxx implementations write at most SMBUS_BLOCK_BYTES_MAX (32) bytes, while the STM32 driver writes as many bytes as the peripheral's length byte announces (up to 255), a variant tracked separately as GHSA-9xp6-5g46-jvrg and fixed by commit fec8353553c. The sibling z_vrfy_smbus_block_write() already performed K_SYSCALL_MEMORY_READ(buf, count) on its input buffer, confirming the read/process-call path was an omission rather than a design choice; the fix adds K_SYSCALL_MEMORY_WRITE(buf/rcv_buf, SMBUS_BLOCK_BYTES_MAX) checks to both verifiers.

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

Local syscall from a user thread already granted the device object (AV:L, PR:L); reliable control of bus-sourced written content is not fully attacker-controlled (AC:H); user-to-kernel write crosses the isolation boundary (S:C) enabling escalation (C/I/A:H).

3.1 AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/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
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

The system call verification handlers for smbus_block_read() and smbus_block_pcall() in drivers/smbus/smbus_handlers.c (z_vrfy_smbus_block_read() and z_vrfy_smbus_block_pcall()) validated the device object, the count pointers and (for process call) the send buffer, but never validated the receive buffer (buf / rcv_buf). The call then proceeds into the driver implementation, which runs in supervisor mode and writes the bytes received from the SMBus peripheral through that pointer.

A user-mode thread on a system built with CONFIG_USERSPACE that has been granted access to an SMBus device object can pass an arbitrary address, including kernel data or another thread's memory, as the receive buffer. The driver then writes up to SMBUS_BLOCK_BYTES_MAX (32) bytes of peripheral-supplied data there (the STM32 driver writes as many bytes as the peripheral's length byte announces, up to 255). The address is fully attacker-chosen; the written content comes from the bus and is typically influenceable by the caller through the choice of peripheral and command, or by first writing data to a device that echoes it back.

This breaks the user/kernel isolation boundary: it gives an unprivileged thread a kernel-memory write primitive usable for privilege escalation, or at minimum to corrupt kernel state or crash the system. The fix adds K_SYSCALL_MEMORY_WRITE() checks of the receive buffer for the documented worst case, SMBUS_BLOCK_BYTES_MAX. Systems without CONFIG_USERSPACE are not affected.

Technical POC Analysis

CWE-822 (untrusted pointer dereference), reported as "confused deputy / missing output-buffer validation".

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

CVE-2026-100374 is a high-severity kernel memory write in Zephyr RTOS's SMBus subsystem that allows a user-mode thread to break isolation and write to arbitrary supervisor memory on devices built with CONFIG_USERSPACE. This affects products using Zephyr 3.4.0 through 4.x before 4.5.0, potentially enabling privilege escalation or arbitrary code execution and compromising device integrity and safety. Leadership should prioritize remediation due to the kernel-level impact and the presence of a public proof-of-concept reference, though it is not confirmed as working exploit code.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
Zephyr is a popular RTOS, but SMBus driver plus CONFIG_USERSPACE is a niche config
Social Media
1
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.1%
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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
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.

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