Skip to main content

Zephyr RTOS CVE-2026-104928

| EUVDEUVD-2026-137454 LOW
Missing Authorization (CWE-862)
2026-11-27 zephyr
2.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-mode thread on device
  2. Delivery
    Craft fake k_thread with chosen stack_info.start
  3. Exploit
    Invoke k_thread_stack_space_get syscall
  4. Execution
    Kernel dereferences pointer and scans address in supervisor mode
  5. Impact
    Leak kernel/MMIO memory via 0xAA-byte count oracle

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: 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 a Zephyr build simultaneously enabling CONFIG_USERSPACE, CONFIG_INIT_STACKS and CONFIG_THREAD_STACK_INFO, AND one of the non-default check modes CONFIG_NO_RUNTIME_CHECKS (CHECKIF compiled to if(0)) or CONFIG_ASSERT_ON_ERRORS with assertions disabled; the advisory explicitly states the default CONFIG_RUNTIME_ERROR_CHECKS configuration is NOT affected. The attacker must already be executing a low-privileged user-mode thread on the device (local access, PR:L) - there is no remote or unauthenticated path. Limiting factors: the primitive is a read-only oracle returning only a count of leading 0xAA bytes (no write primitive, no code execution, no DoS beyond a self-inflicted oops), it is local-only, and it depends on an uncommon non-default build configuration, all of which substantially constrain real-world risk relative to the scope-change in the CVSS vector.

Impact

All signals converge on low priority. The CVSS base score is 2.8 (Low) with vector AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N: exploitation is strictly local, requires an attacker who can already run a user-mode thread on the device (PR:L), and yields only a limited confidentiality impact (C:L) with no integrity or availability effect. The vuln.today Decision label is 'monitor', the lowest urgency tier, consistent with the CVSS score. There is no CISA KEV listing, so this is not confirmed actively exploited; no EPSS probability was supplied in the input; and the only references are the fix commit and the GHSA advisory, so no public exploit identified at time of analysis. Crucially, the advisory confirms the default CONFIG_RUNTIME_ERROR_CHECKS build is NOT affected - exploitation needs a non-default check mode (CONFIG_NO_RUNTIME_CHECKS or CONFIG_ASSERT_ON_ERRORS) combined with CONFIG_USERSPACE, CONFIG_INIT_STACKS and CONFIG_THREAD_STACK_INFO, which sharply narrows the real-world exposed population. The primitive is a read-only memory-disclosure oracle (count of leading 0xAA bytes) with no write primitive, limiting impact to information leakage. This is a genuine but low-severity, config-dependent local issue rather than a high-risk priority; apply the patch during normal maintenance.

Exploit ScenarioDerived

On a Zephyr device built with CONFIG_USERSPACE, CONFIG_INIT_STACKS, CONFIG_THREAD_STACK_INFO and a non-default check mode (CONFIG_NO_RUNTIME_CHECKS or CONFIG_ASSERT_ON_ERRORS), an attacker who already controls a low-privileged user-mode thread crafts a fake struct k_thread in its own memory with an attacker-chosen stack_info.start and calls k_thread_stack_space_get(). The kernel skips the object-permission check and, in supervisor mode, scans the attacker-selected address - including kernel or MMIO/peripheral memory - returning the number of leading 0xAA bytes as a limited read oracle. No public exploit identified at time of analysis, and because the attack is local with high complexity and non-default configuration requirements, practical use is limited to an already-present local foothold.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 27, 2026

Zephyr RTOS builds that combine CONFIG_USERSPACE, CONFIG_INIT_STACKS and CONFIG_THREAD_STACK_INFO with a non-default runtime-check mode expose a limited, read-only kernel-memory oracle through k_thread_stack_space_get(). A local low-privileged user-mode thread can pass an arbitrary thread pointer because the verifier's kernel-object authorization result is compiled out or reduced to an assertion, after which the syscall returns a count of leading 0xAA bytes from an attacker-chosen address, including kernel or MMIO memory; no write primitive or code execution results. The default CONFIG_RUNTIME_ERROR_CHECKS configuration is not affected, no public exploit is identified in the available intelligence, and vendor fixes are released in 4.3.2 and 4.5.0 (CVSS 2.8).

RemediationAI

Vendor-released patch: Zephyr RTOS 4.3.2 and 4.5.0; upgrade to the fixed release for the applicable branch, and note that the fix replaces CHECKIF() with K_OOPS() so K_SYSCALL_OBJ is always enforced (commit 02e50aa056c54bbec45727e27803bdd0cb9ab858, advisory https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-9rqv-pm73-2p49). If upgrading immediately is not possible, retain the default CONFIG_RUNTIME_ERROR_CHECKS and avoid selecting CONFIG_NO_RUNTIME_CHECKS or CONFIG_ASSERT_ON_ERRORS in builds that also enable CONFIG_USERSPACE, CONFIG_INIT_STACKS and CONFIG_THREAD_STACK_INFO; this is configuration-dependent and may conflict with builds that mandate those options. Where userspace isolation is not required, disabling CONFIG_USERSPACE removes the unprivileged syscall path but forfeits memory protection; disabling CONFIG_THREAD_STACK_INFO or CONFIG_INIT_STACKS removes prerequisites for the vulnerable path at the cost of stack-measurement or stack-poisoning features. Backports are merged for v4.3-branch, v4.4-branch and v3.7-branch; for the 3.7 line use the vendor-patched revision because no fixed 3.7.x version is stated. Verify any configuration workaround against the product's Zephyr Kconfig, since these measures either reduce functionality or depend on the exact build options.

Affected VersionsENISA

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

Zephyr is a real-time operating system whose userspace syscall layer uses verifier functions in kernel/thread.c. k_thread_stack_space_get() is a __syscall, so a user-mode thread controls the thread pointer passed into z_vrfy_k_thread_stack_space_get(). That verifier was intended to call K_SYSCALL_OBJ(thread, K_OBJ_THREAD) to enforce that the pointer references a kernel thread object the caller may access, but its result was consumed with CHECKIF() instead of K_OOPS(). CHECKIF() expands to if (0) under CONFIG_NO_RUNTIME_CHECKS, and under CONFIG_ASSERT_ON_ERRORS it becomes an assertion with an if (0) body when assertions are disabled, so the authorization result is not enforced. With CONFIG_USERSPACE, CONFIG_INIT_STACKS and CONFIG_THREAD_STACK_INFO also enabled, z_impl_k_thread_stack_space_get() then dereferences thread->stack_info in supervisor mode and z_stack_space_get() scans from the attacker-selected start address, returning the number of leading 0xAA bytes to the user. That is a limited read-only oracle over attacker-selected supervisor memory, including MMIO, classified as CWE-862 missing authorization; there is no write primitive, and the default CONFIG_RUNTIME_ERROR_CHECKS configuration is unaffected. The trigger requires local user-mode code plus the exact non-default build options, and the count-only output further constrains impact.

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

Local attack by an existing user-mode thread (AV:L/PR:L) dependent on a non-default build config (AC:H); a user-to-kernel read crosses a trust boundary (S:C) yielding a limited disclosure oracle (C:L) with no write (I:N/A:N).

3.1 AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/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
Low
Integrity
None
Availability
None

DescriptionCVE.org

The system call verifier z_vrfy_k_thread_stack_space_get() in kernel/thread.c checked the result of K_SYSCALL_OBJ(thread, K_OBJ_THREAD) with the CHECKIF() macro instead of K_OOPS(). CHECKIF() compiles to if (0) when CONFIG_NO_RUNTIME_CHECKS is selected, and becomes an assertion when CONFIG_ASSERT_ON_ERRORS is selected. In both cases, the kernel-object validation result for the user-supplied thread pointer is ignored, or is a no-op when assertions are disabled.

On builds with CONFIG_USERSPACE, CONFIG_INIT_STACKS and CONFIG_THREAD_STACK_INFO plus one of those check modes, a user-mode thread can call k_thread_stack_space_get() with an arbitrary pointer. That pointer can be a fake struct k_thread in its own memory, or a thread object it has no permission on. z_impl_k_thread_stack_space_get() then dereferences thread->stack_info in supervisor mode and scans memory starting at the attacker-chosen stack_info.start.

The syscall returns the number of leading 0xAA bytes at that address. This gives an unprivileged thread a limited oracle on arbitrary kernel or peripheral memory, and allows privileged reads of attacker-selected addresses, including MMIO. No write primitive results. The default CONFIG_RUNTIME_ERROR_CHECKS configuration is not affected. The fix replaces the CHECKIF() with K_OOPS() so the object check is always enforced.

Threat Intelligence Overview

EPSS Score
0.2%
Top 98% exploitable
Prevalence
Medium
widely adopted embedded/IoT RTOS, but niche versus general-purpose OS footprint
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 LOW
CISA KEV No
Public POC No
EPSS 0.2%
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· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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