Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRun user-mode thread on device
-
DeliveryCraft fake k_thread with chosen stack_info.start
-
ExploitInvoke k_thread_stack_space_get syscall
-
ExecutionKernel dereferences pointer and scans address in supervisor mode
-
ImpactLeak 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
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).
Primary rating from Vendor (zephyr).
CVSS VectorVendor: zephyr
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),
An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on
Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit
Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS
Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner
Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability
Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul
zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(
Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul
The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte
Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c
EUVD-2026-137454
NVD
CVE.org
EPSS
GitHub
Exploit-DB