Skip to main content

Zephyr RTOS EUVDEUVD-2026-123038

| CVE-2026-90833 HIGH
Out-of-bounds Write (CWE-787)
2026-11-10 vulnerabilities@zephyrproject.org
7.8
CVSS 3.1 · Vendor: zephyrproject
View

Attack ChainAIDerived

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

  1. Access
    Run as unprivileged user thread with granted EEPROM object
  2. Delivery
    Call eeprom_write syscall with negative offset
  3. Exploit
    Signed offset wraps unsigned bounds check
  4. Execution
    Kernel memcpy writes OOB before mock_eeprom
  5. Impact
    Corrupt adjacent kernel .bss, escape sandbox

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

Exploitation requires a specific build and grant configuration, not a default production one: CONFIG_USERSPACE=y (user/kernel isolation enabled), a CONFIG_EEPROM_SIMULATOR device instance (status = "okay", default on qemu_x86 and native_sim, otherwise added via a devicetree overlay enabling a zephyr,sim-eeprom node), and that simulated device object explicitly granted to the attacking user thread (as tests/drivers/eeprom/api does via k_object_access_grant and ZTEST_USER). Given those, the attacker is an already-running low-privileged local thread supplying a negative signed off_t offset with a compensating length to eeprom_read()/eeprom_write(). Limiting factors: no remote vector (local only); the caller must already hold the granted device object; and builds that do not instantiate the simulated EEPROM driver or do not enable userspace isolation are not affected - this is a development/test driver, not a production hardware EEPROM backend.

Impact

All severity signals point to a genuine but tightly-scoped local privilege-escalation issue rather than a mass-exploitation event. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 7.8 HIGH) describes a local, low-complexity attack by an already-authenticated low-privileged actor (PR:L maps to an unprivileged user thread that has been granted the device object), yielding high confidentiality, integrity and availability impact because both the start address and the length of the out-of-bounds span are attacker-selected over kernel .bss. No EPSS score was supplied and the CVE is not listed in CISA KEV, so there is no probabilistic or confirmed-exploitation signal; exploitation status is therefore 'no public exploit identified at time of analysis' - the only references are the fix commit and the GHSA advisory, not proof-of-concept exploit code. The vuln.today priority is 'this_week', consistent with a serious memory-corruption flaw not under active exploitation. The dominant risk limiter is not the CVSS metrics but the affected component: the flaw lives in the simulated EEPROM driver, a development/test driver only built when CONFIG_EEPROM_SIMULATOR and CONFIG_USERSPACE are both enabled and the mock device object is granted to a user thread - a configuration exercised by the in-tree tests/drivers/eeprom/api suite and present by default on qemu_x86/native_sim, but not in typical production firmware. Treat this as a real sandbox-escape primitive to patch on affected branches, while recognizing its real-world blast radius is constrained by the non-production nature of the vulnerable driver.

Exploit ScenarioDerived

On a Zephyr build compiled with CONFIG_USERSPACE=y and an enabled simulated-EEPROM node, an unprivileged user thread holding the granted EEPROM device object calls eeprom_write() (or eeprom_read()) with a negative signed offset and a compensating length that wraps the unsigned bounds check back into the accepted range. The kernel then performs memcpy() through the EEPROM() pointer macro at an attacker-chosen address before mock_eeprom, overwriting adjacent kernel .bss with caller-supplied bytes (or reading kernel memory into the caller's buffer), which is sufficient to corrupt kernel state and escape the user-mode sandbox. No public proof-of-concept exploit code is identified, though the in-tree test suite already exercises these syscalls from ZTEST_USER threads.

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

Signed-offset bounds-check bypass in Zephyr's simulated EEPROM driver lets a local, low-privileged user thread make the kernel perform out-of-bounds reads and writes relative to the static mock_eeprom array. Affected builds must enable CONFIG_USERSPACE, instantiate a CONFIG_EEPROM_SIMULATOR device (status "okay" by default on qemu_x86 and native_sim, otherwise added through a devicetree overlay), and explicitly grant that device object to the attacking thread, which is exactly the model the in-tree tests/drivers/eeprom/api suite exercises from ZTEST_USER threads. Because both the start address and length are attacker-selected, the primitive is sufficient to read kernel .bss back into the caller's buffer and to overwrite kernel memory preceding the array, corrupting adjacent state and escaping the user-mode sandbox; no public exploit code has been identified at time of analysis, and the exposure is confined to a development/test driver rather than production hardware EEPROM backends.

RemediationAI

Apply the vendor patch: fixed releases are 4.3.2 and 4.5.0, which contain the corrected check rejecting negative offsets and casting before the addition. Backports are merged on main (commit ce2ec9b3a34d71f52f5d1d7491b91393e334713e, PR #118774), v4.4-branch (PR #119415), v4.3-branch (PR #119414) and v3.7-branch (PR #119416), so release lines that have not yet taken the backport remain affected - confirm the applied branch head includes the fix, and consult https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-vf6j-hcx8-44vh and the commit for details. For builds that cannot update immediately, the exposure can be removed by not enabling the simulated EEPROM: set the zephyr,sim-eeprom devicetree node to status = "disabled" (or do not provide the overlay that enables it) and/or turn off CONFIG_EEPROM_SIMULATOR, at the cost of losing the simulated EEPROM and its tests/drivers/eeprom/api coverage; alternatively, stop granting the sim EEPROM device object to unprivileged threads with k_object_access_grant(), which removes the user-mode path to the syscall but also defeats the user-mode test model. Disabling CONFIG_USERSPACE entirely also removes reachability but removes kernel/user isolation for the whole image and is not recommended.

Affected VersionsENISA

Zephyr 4.4.0 <4.5.0
Zephyr 2.2.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 signed/unsigned arithmetic error (CWE-787, out-of-bounds write) in eeprom_range_is_valid() in drivers/eeprom/eeprom_simulator.c, which validated a request with the single expression (offset + len) <= config->size. Because offset is a signed off_t and len an unsigned size_t of the same rank, the addition is promoted to unsigned, so a negative offset plus a compensating length wraps the sum back into the accepted range. The two sinks are eeprom_sim_read() and eeprom_sim_write(), which memcpy() through the macro EEPROM(addr), defined as (mock_eeprom + (addr)); since mock_eeprom is a static array in kernel .bss on non-POSIX targets, a wrapped offset of this kind resolves to plain pointer arithmetic that lands before the array instead of being an index into a checked window. The privilege differential comes from eeprom_read()/eeprom_write() being declared __syscall in include/zephyr/drivers/eeprom.h: the verification handlers in drivers/eeprom/eeprom_handlers.c only check the device object and the caller's own data buffer (K_SYSCALL_MEMORY_READ / K_SYSCALL_MEMORY_WRITE) and forward the offset argument to the driver unchecked, so the driver's own range test was the sole bound. The defect was introduced with the driver in commit 20623dfa4c0 and first shipped in v2.2.0. The fix rejects offset < 0 and casts before adding, i.e. ((offset < 0) || (((size_t)offset + len) > config->size)) returns invalid.

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 (zephyrproject) 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

A local unprivileged user thread (AV:L, PR:L) triggers the bypass deterministically with no interaction (AC:L, UI:N); attacker-controlled OOB read and write over kernel memory give full C/I/A impact.

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 (zephyrproject).

CVSS VectorVendor: zephyrproject

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

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 23:05 EUVD
CVE Published
Nov 10, 2026 - 22:21 cve.org
HIGH 7.8

DescriptionCVE.org

The simulated EEPROM driver validated access ranges in eeprom_range_is_valid() (drivers/eeprom/eeprom_simulator.c) with a single test, (offset + len) <= config->size. Because offset is a signed off_t and len an unsigned size_t of the same rank, the addition is evaluated in unsigned arithmetic: a negative offset combined with a compensating len wraps the sum back into the accepted range. eeprom_sim_read() and eeprom_sim_write() then memcpy() through the EEPROM(addr) macro, which is plain pointer arithmetic on the driver's static mock_eeprom array, so the copy addresses memory located before that array.

eeprom_read() and eeprom_write() are __syscall entry points, and their verification handlers in drivers/eeprom/eeprom_handlers.c check only the device object and the caller's own data buffer (K_SYSCALL_MEMORY_READ/K_SYSCALL_MEMORY_WRITE) - the offset argument is passed to the driver unvalidated. With CONFIG_USERSPACE=y, a CONFIG_EEPROM_SIMULATOR device instance, and the device object granted to a user thread (the usage the in-tree tests/drivers/eeprom/api suite exercises from ZTEST_USER threads), an unprivileged thread could supply a negative offset and have the kernel perform the copy on its behalf.

The result is an out-of-bounds read of kernel .bss returned into the caller's buffer and, via the write path, an out-of-bounds write of caller-supplied bytes over kernel memory preceding mock_eeprom. Both the start address and the length of the affected span are attacker-selected, so the primitive is sufficient to corrupt adjacent kernel state and escape the user-mode sandbox. Exposure is limited to builds that instantiate the simulated EEPROM (status = "okay" by default on qemu_x86 and native_sim, otherwise added by a devicetree overlay) together with userspace isolation.

The fix rejects negative offsets and performs the remaining bound check without overflow.

Technical POC Analysis

CWE-787 (out-of-bounds write), reached through a signed/unsigned conversion defect.

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's simulated EEPROM test driver could allow a local, low-privileged thread to read and write kernel memory, breaking the user-mode sandbox. This affects only development and test builds that enable specific configurations, not production devices, but could compromise development environments or CI systems and lead to data leakage or code execution if such builds are deployed.

Business Impact: Medium
Compensating Controls

Disable CONFIG_EEPROM_SIMULATOR in all builds where not required; if needed, remove the device from devicetree or avoid granting it to unprivileged threads. Isolate development/test environments from production networks and limit access to trusted personnel. Monitor for vendor patches and apply them when available.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
simulation/test-only EEPROM driver, not shipped in production firmware
Social Media
1
Sightings
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.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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

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