Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-10684: bounds in zephyrproject zephyr

0
Low
VulnerabilityCVE-2026-10684cvecve-2026-10684
Published: 07/29/2026 (07/29/2026, 18:03:08 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

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.

CVSS v3.1

Score 3.0low

Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:L

Affected software

GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=4.2.0 <4.3.1>=4.4.0 <=4.4.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/29/2026, 18:53:18 UTC

Technical Analysis

In Zephyr versions 4.2.0 through 4.4.0, the function print_coredump_hdr() in subsys/debug/coredump/coredump_shell.c uses the 16-bit tgt_code field from a stored coredump header directly as an index into a fixed-size 7-element array (coredump_target_code2str[]) without bounds checking. If tgt_code is 7 or greater, this causes an out-of-bounds read of a char* pointer, which is then passed to shell_print as a %s argument. This leads to either disclosure of device memory contents or a crash if the pointer is invalid. The vulnerability is reachable only via the coredump print shell command and requires local shell access plus the ability to corrupt or stage the stored coredump. The issue was introduced in version 4.2.0 and fixed by clamping out-of-range tgt_code values to the 'unknown' entry at index 0.

Potential Impact

An attacker with local shell access and the ability to stage or corrupt stored coredumps can cause an out-of-bounds read, potentially disclosing device memory contents or causing a crash. The impact is limited to local users with elevated privileges and requires specific conditions to trigger. The CVSS score is 3.0 (low severity), reflecting limited confidentiality impact and the need for high privileges and complex conditions.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability was fixed by clamping out-of-range tgt_code values to a safe index in versions after 4.4.0. Until an official fix is confirmed, avoid exposing local shell access to untrusted users and prevent manipulation or corruption of stored coredumps.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
zephyr
Date Reserved
2026-06-02T15:26:21.656Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a6a48789c2644c7f8e5157f

Added to database: 07/29/2026, 18:37:44 UTC

Last enriched: 07/29/2026, 18:53:18 UTC

Last updated: 07/29/2026, 23:51:03 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses