Skip to main content

Zephyr RTOS CVE-2026-10684

| EUVDEUVD-2026-50445 LOW
Out-of-bounds Read (CWE-125)
2026-07-29 zephyr
3.0
CVSS 3.1 · Vendor: zephyr

Severity by source

Vendor (zephyr) PRIMARY
3.0 LOW
AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:L
vuln.today AI
3.0 LOW

Local-only vector, high privilege required to reach coredump shell, high complexity to stage malformed storage; impact limited to partial memory read or local crash.

3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:L
4.0 AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

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

Lifecycle Timeline

2
Source Code Evidence Fetched
Jul 29, 2026 - 18:52 vuln.today
Analysis Generated
Jul 29, 2026 - 18:52 vuln.today

DescriptionCVE.org

In subsys/debug/coredump/coredump_shell.c, print_coredump_hdr() used the 16-bit tgt_code field of a stored Zephyr coredump header directly as an index into coredump_target_code2str[], a fixed 7-element array of string pointers, with no bounds check.

A stored coredump whose tgt_code is >= 7 causes an out-of-bounds read of a char* up to ~64K entries past the array; that value is passed as the %s argument to shell_print, which dereferences and walks it as a string. The result is either disclosure of device memory contents to the shell user or a crash when the out-of-bounds pointer is unmapped.

The defect is reached via the coredump print shell command (cmd_coredump_print_stored_dump -> pretty_print_coredump -> parse_and_print_coredump -> print_coredump_hdr). The tgt_code field is device-generated and in-range during normal crash handling, so triggering requires local shell access plus the ability to stage or corrupt the stored coredump in the flash/in-memory backend.

Introduced in v4.2.0 (commit 13abd7fe730) and present through v4.4.0; fixed by clamping out-of-range codes to the 'unknown' (index 0) entry.

AnalysisAI

Out-of-bounds read in Zephyr RTOS 4.2.0 through 4.4.0 allows a high-privileged local shell user to disclose device memory contents or crash the system via the coredump print shell command. The 16-bit tgt_code field from a stored coredump header is used as an unbounded index into a static 7-element string pointer array in print_coredump_hdr(), enabling reads up to ~64K entries past the array boundary that are then dereferenced and printed as a C string. No public exploit has been identified and no CISA KEV listing exists; the CVSS 3.0 base score accurately reflects that exploitation is constrained by local high-privilege access and deliberate coredump storage manipulation.

Technical ContextAI

The defect resides in subsys/debug/coredump/coredump_shell.c within the Zephyr real-time operating system's debug subsystem, specifically in print_coredump_hdr(), which is invoked through the call chain cmd_coredump_print_stored_dump -> pretty_print_coredump -> parse_and_print_coredump -> print_coredump_hdr. The function maps a uint16_t tgt_code field from a stored coredump header to a human-readable architecture name via coredump_target_code2str[], a static array of exactly 7 char* pointers. Because tgt_code (range 0-65535) is passed directly as an array index without a bounds check, any value >= 7 constitutes a CWE-125 (Out-of-Bounds Read): the read char* is then passed to shell_print() as a %s argument, causing the shell to dereference and walk whatever pointer value resides in memory past the array end. The result is either leakage of adjacent memory regions (if the pointer happens to be mapped and readable) or a fault/crash (if the pointer is unmapped). The affected CPE is cpe:2.3:a:zephyrproject:zephyr:*:*:*:*:*:*:*:* for versions 4.2.0 through 4.4.0, with the defect introduced by commit 13abd7fe730.

RemediationAI

Apply the upstream fix available at https://github.com/zephyrproject-rtos/zephyr/commit/a9226324e8bd1f8adecafb1b6e0603f781dc750c, which adds a bounds check that clamps any tgt_code value >= ARRAY_SIZE(coredump_target_code2str) to index 0 (the 'unknown' entry) before using it as an array subscript. The patch is confirmed by the Zephyr security advisory at https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-9fw2-4429-49q8; however, a specific tagged release version incorporating this fix was not independently confirmed from the provided data - consult Zephyr project release notes to identify the first tagged release containing commit a9226324e8bd. As an immediate compensating control, disable the coredump shell command subsystem at build time via CONFIG_DEBUG_COREDUMP_SHELL=n in the project's Kconfig; this removes the entire vulnerable code path with the trade-off of losing runtime coredump introspection capability. Alternatively, restrict Zephyr shell access (CONFIG_SHELL) to eliminate the privilege path entirely, accepting the loss of all shell-based diagnostics.

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-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-2026-1678 CRITICAL POC
9.4 Mar 05

Buffer overflow in Zephyr RTOS dns_unpack_name() function causing OOB writes. PoC available.

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

Share

CVE-2026-10684 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy