Skip to main content

Zephyr RTOS CVE-2026-90586

| EUVDEUVD-2026-120487 HIGH
Access of Uninitialized Pointer (CWE-824)
2026-11-09 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 unprivileged user-mode thread
  2. Delivery
    Groom resource-pool heap at ptables offset
  3. Exploit
    Allocate non-zeroed k_thread via k_object_alloc syscall
  4. Execution
    Create thread, forcing migration branch
  5. Persist
    Walk bogus page table, OOB supervisor-mode writes
  6. Impact
    Corrupt kernel memory, escape sandbox

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Uninitialized pointer prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Requires a build with CONFIG_XTENSA_MMU AND CONFIG_USERSPACE AND dynamically allocated kernel objects (e.g., Intel ADSP ACE30, where XTENSA_MMU is default). The attacker must already be able to execute an unprivileged user-mode thread and invoke the k_object_alloc(K_OBJ_THREAD) syscall, which allocates a non-zeroed k_thread from the caller's resource pool; the thread->arch.ptables bytes must be non-zero, which the attacker can groom by allocating, filling and freeing other kernel objects from the same heap. Limiting factors: local access only (no network/remote path), restricted to the Xtensa architecture with the MMU userspace port, non-default on the broad Zephyr population, and requires the ability to run user-mode threads on the target - unaffected builds lacking XTENSA_MMU or USERSPACE cannot reach the code path.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 7.8, High) is internally consistent with the mechanism: exploitation requires an already-present unprivileged user-mode thread (PR:L, AV:L) on a specific build, and once reached the flaw yields full confidentiality, integrity and availability loss via out-of-bounds supervisor-mode reads/writes and sandbox escape. No EPSS score, KEV listing, or public PoC/exploit reference is present in the input, so exploitation status is 'no public exploit identified at time of analysis' - this is not a mass-exploitation, internet-facing issue. The vuln.today Decision label is 'this_week' (not act_now/emergency), aligning with a serious local privilege-boundary bug that is not under active exploitation. The real priority is bounded by its narrow reachability: it only exists on Zephyr builds compiled with CONFIG_XTENSA_MMU + CONFIG_USERSPACE and using dynamically allocated kernel objects (notably Intel ADSP ACE30 DSP firmware with user threads), so it is a genuine high-severity sandbox-escape primitive for those specific targets rather than a broad fleet-wide emergency. The stale bytes are described as groomable rather than random, which strengthens exploitability on affected configs, but local access plus the user-mode-thread prerequisite keeps the realistic blast radius narrow.

Exploit ScenarioDerived

On a Zephyr build with CONFIG_XTENSA_MMU and CONFIG_USERSPACE, an attacker already running an unprivileged user-mode thread grooms its resource-pool heap so that recycled bytes at the arch.ptables offset are a chosen non-NULL value, then calls the k_object_alloc(K_OBJ_THREAD) syscall to obtain a non-zeroed k_thread and creates a thread (forced K_USER). The kernel misreads the stale field as a prior memory-domain pointer, takes the migration branch, and walks an attacker-influenced bogus level-1 page table, producing out-of-bounds supervisor-mode writes once per stack page - ranging from kernel panic to kernel-memory corruption and sandbox escape. No public exploit code is identified; exploitation requires local code execution and the specific affected build, consistent with the local, low-complexity CVSS vector.

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 09, 2026

Out-of-bounds supervisor-mode reads and writes in the Xtensa MMU userspace port of Zephyr RTOS arise because arch_new_thread() never cleared the per-thread page-table pointer thread->arch.ptables, and arch_mem_domain_thread_add() treats any non-NULL value as proof that the thread is migrating from a previous memory domain. On builds combining CONFIG_XTENSA_MMU, CONFIG_USERSPACE and dynamically allocated kernel objects, an attacker who can run an unprivileged user-mode thread can call the k_object_alloc(K_OBJ_THREAD) syscall to obtain a non-zeroed k_thread, groom the stale bytes at that offset with other heap objects, and then hand the object to k_thread_create(), which forces K_USER and takes the migration branch with an attacker-influenced level-1 table base. The result is a wild supervisor-mode page-table write once per stack page, producing anything from an immediate kernel panic (Xtensa EXCAUSE 13, observed on Intel ADSP ACE30 DSP firmware with user threads) to kernel memory corruption and escape from the user-mode sandbox; no public exploit code has been identified at time of analysis, and the CVSS 3.1 vector scores 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), reflecting that the attacker must already be running code locally as an unprivileged user thread on an affected configuration.

RemediationAI

Vendor-released patch: 4.3.2 and 4.5.0, which add thread->arch.ptables = NULL in arch_new_thread() under CONFIG_USERSPACE && CONFIG_XTENSA_MMU so a freshly created thread can never be mistaken for a migrating one. The fix commit is c770d5c5d19bdb6ff0ae42f7c7e259bd92b17347 (main PR #118492), backported to v4.4-branch (PR #119369), v4.3-branch (PR #119368) and v3.7-branch (PR #119397), all merged; release lines that have not taken the backport remain affected per the published range. Upgrade to 4.3.2 or 4.5.0, or cherry-pick the single-line initialization, which is safe because arch_new_thread() runs before the first arch_mem_domain_thread_add() call. Where an upgrade is not yet possible, the exposure can be removed by disabling CONFIG_USERSPACE or CONFIG_XTENSA_MMU on Xtensa targets, at the cost of losing user-mode isolation or MMU-based memory protection respectively, or by preventing unprivileged threads from obtaining thread objects through k_object_alloc(K_OBJ_THREAD) where the application does not require dynamic thread creation, which likewise gives up that dynamic-allocation capability. Because the window is triggered by non-zero recycled heap contents, removing the user-mode path to k_object_alloc() is the most targeted compensating control, but the vendor fix is the only complete remedy. Advisory: https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-334c-qm73-x5mv.

Affected VersionsENISA

Zephyr 4.4.0 <4.5.0
Zephyr 3.6.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

Zephyr's Xtensa MMU port implements memory-domain bookkeeping with a per-thread pointer, thread->arch.ptables, holding the base of a level-1 page table; arch_mem_domain_thread_add() in arch/xtensa/core/ptables.c reads that field as old_ptables and, when it is non-NULL and the thread carries K_USER, calls reset_region() with the value as an L1 page-table base on the assumption the thread is migrating between domains. Nothing in the port ever assigned the field during thread setup, so for a k_thread whose backing memory was not zeroed it contains whatever the heap previously held. The equivalent x86 field is explicitly cleared in z_x86_userspace_prepare_thread() with a comment that clearing it is important for precisely this distinction, confirming the omission is a defect rather than intent; the root cause maps to CWE-824 (access of an uninitialized pointer). Reachability follows from the kernel object model: k_object_alloc() is a __syscall (include/zephyr/sys/kobject.h) and dynamic_object_create()/z_object_alloc() obtain the k_thread via z_thread_aligned_alloc(), a plain sys_heap_aligned_alloc() that only memsets the kobj permission block, while z_vrfy_k_thread_create() accepts such a never-initialized object and forces the K_USER option. Because arch_new_thread() runs before init_thread_userspace_perms()/z_mem_domain_init_thread(), the domain-add hook is the first consumer of the garbage pointer. Walking the bogus table in region_map_update() dereferences l1_table[l1_pos], derives an L2 table from it and writes l2_table[l2_pos] once per page of the new stack; dup_l2_table_if_needed() additionally feeds a garbage-derived L2 pointer into l2_table_to_counter_pos() without the is_l2_table_inside_array() guard, indexing l2_page_tables_counter[] out of bounds. All of this executes in supervisor mode. The Kconfig wiring is CONFIG_XTENSA_MMU selecting ARCH_MEM_DOMAIN_SYNCHRONOUS_API when USERSPACE is set, and soc/intel/intel_adsp/ace/Kconfig.defconfig.ace30 enables XTENSA_MMU by default, so the deployed Intel ADSP ACE30 DSP firmware configuration is directly exposed. The trigger is only reachable on Xtensa with both XTENSA_MMU and USERSPACE enabled plus dynamic kernel object allocation; builds lacking either option cannot reach the code path.

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

Local user-mode thread required (AV:L, PR:L), deterministic once stale bytes are groomed (AC:L); OOB supervisor-mode read/write gives full C/I/A loss and sandbox escape within the kernel scope.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/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
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

The Xtensa MMU userspace port never initialized the per-thread page-table pointer thread->arch.ptables during thread setup, while arch_mem_domain_thread_add() in arch/xtensa/core/ptables.c uses a non-NULL value of that field as its "this thread is migrating from another memory domain" predicate. For a thread whose struct k_thread backing memory is not zeroed, the field holds stale data and the kernel takes the migration branch, passing that stale value to reset_region() as the base of a level-1 page table. The equivalent field on x86 is explicitly cleared in z_x86_userspace_prepare_thread() for exactly this reason; the Xtensa port adopted the predicate without the initialization.

The condition is reachable from an unprivileged user-mode thread on a build with CONFIG_XTENSA_MMU, CONFIG_USERSPACE and dynamically allocated kernel objects. k_object_alloc(K_OBJ_THREAD) is a system call and allocates the thread object from the caller's resource pool without zeroing it, and the k_thread_create() verifier accepts such an object while forcing the K_USER option, so the migration branch is taken whenever the recycled heap bytes at that offset are non-zero. Because a user thread can also allocate, fill and free other kernel objects from the same heap, the stale bytes are groomable rather than merely random.

Walking the bogus table in region_map_update() performs an unguarded index into l2_page_tables_counter[], may copy from and write through the attacker-influenceable level-1 base in dup_l2_table_if_needed(), and finally writes a page-table entry through a second pointer read out of that memory - once per page of the new thread's stack. The result is out-of-bounds reads and writes executed in supervisor mode, ranging from an immediate kernel panic (observed as Xtensa EXCAUSE 13 on Intel ADSP DSP firmware with user threads) to corruption of kernel memory and escape from the user-mode sandbox.

Technical POC Analysis

CWE-824 (Access of Uninitialized Pointer).

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 Zephyr RTOS (CVE-2026-90586, CVSS 7.8) allows an unprivileged user-mode thread to corrupt supervisor-mode kernel memory on Xtensa MMU systems, potentially causing crashes or arbitrary code execution. This affects products using Zephyr with userspace and dynamic kernel object allocation, such as Intel ADSP ACE30 DSP firmware, and could lead to denial of service or privilege escalation, undermining device security and reliability.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
niche Xtensa MMU userspace build; mainly Intel ADSP DSP firmware
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 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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

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

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