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-12634: bounds in zephyrproject zephyr

0
Medium
VulnerabilityCVE-2026-12634cvecve-2026-12634
Published: 08/19/2026 (08/19/2026, 20:37:36 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

CVE-2026-12634 is a medium severity vulnerability in the Zephyr project's settings subsystem where a fixed-size stack buffer is used to read setting-name entries. An attacker with the ability to write directly to the flash backing the settings partition can craft oversized entries that cause a single out-of-bounds NUL byte write past the buffer. This can lead to a crash or denial of service due to limited stack corruption. The vulnerability is not exploitable remotely via the normal settings API and does not impact confidentiality. The issue affects Zephyr versions 2.0.0 and all versions from 2.0.0 up to but not including 4.5.0. No official patch or remediation level has been confirmed yet.

CVSS v3.1

Score 5.3medium

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

Affected software

GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=2.0.0 <4.5.0

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: 08/19/2026, 21:09:28 UTC

Technical Analysis

The vulnerability exists in the NVS backend of the Zephyr settings subsystem where stored setting-name entries are read into fixed 74-byte stack buffers. The function nvs_read() returns the full stored entry length, which can exceed the buffer size. The code uses this length directly as the index to NUL-terminate the buffer without clamping, causing a single out-of-bounds write of a NUL byte past the buffer boundary. This requires an attacker capable of writing to the flash device backing the settings partition, such as a co-resident or untrusted component, malicious image restore, or physical flash access. The out-of-bounds write can cause a crash or denial of service but does not allow code execution or confidentiality breaches. The vulnerability is triggered during settings_load() at boot or subsystem initialization, or during settings_save(). The fix involves skipping entries whose length exceeds the buffer size before writing the NUL byte, but no official patch is currently confirmed.

Potential Impact

The vulnerability can cause a denial of service or crash due to a single out-of-bounds NUL byte write on the stack, resulting in limited stack corruption. There is no impact on confidentiality or integrity beyond limited corruption, and the vulnerability cannot be exploited remotely through the normal settings API. Exploitation requires write access to the flash device backing the settings partition, which is a high-barrier threat model involving co-resident components or physical access.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves skipping any entry whose length returned by nvs_read() is greater than or equal to the buffer size before performing the NUL termination. Until an official patch is available, restrict or monitor access to the flash device backing the settings partition to prevent unauthorized writes.

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-18T15:22:31.233Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a861799acd9273b499c15a6

Added to database: 08/19/2026, 20:52:41 UTC

Last enriched: 08/19/2026, 21:09:28 UTC

Last updated: 08/19/2026, 21:13:13 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