Skip to main content

CVE-2026-18414: bounds in zephyrproject zephyr

0
High
VulnerabilityCVE-2026-18414cvecve-2026-18414
Published: 09/28/2026 (09/28/2026, 20:00:00 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

CVE-2026-18414 is a vulnerability in the Zephyr project's ADC driver for the ADI MAX32 device. The driver fails to correctly validate the buffer size for ADC sampling sequences, leading to a buffer overrun. This can cause kernel memory corruption when an unprivileged user-mode thread controls the ADC device, potentially allowing privilege escalation or denial of service. The issue affects Zephyr versions from 4.0.0 up to but not including 4.4.2. A fix has been implemented that properly validates the buffer size before sampling.

CVSS v3.1

Score 7.8high

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

Affected software

zephyrproject

zephyr

Affected versions
>=4.0.0 <4.4.2
GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=4.0.0 <4.4.2

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: 09/28/2026, 20:47:40 UTC

Technical Analysis

The ADC API in Zephyr requires drivers to reject sampling sequences if the destination buffer is too small. The ADI MAX32 ADC driver violated this contract by comparing the buffer size in bytes against a sample count without accounting for the sample size (uint16_t), allowing a buffer half the required size to be accepted. This results in writes beyond the buffer boundary during ADC sampling, causing kernel memory corruption. On builds with CONFIG_USERSPACE, unprivileged user-mode threads with access to the ADC device can exploit this to write attacker-controlled data beyond their memory partition, enabling privilege escalation or denial of service. The vulnerability affects Zephyr versions >=4.0.0 and <4.4.2. The fix replaces the faulty check with a call to a shared helper function that correctly validates the buffer size accounting for sample size and extra samplings, returning an error if the buffer is insufficient.

Potential Impact

An unprivileged user-mode thread with access to the ADI MAX32 ADC device can cause kernel memory corruption by triggering a buffer overrun during ADC sampling. This memory corruption can lead to privilege escalation or denial of service. The vulnerability affects Zephyr OS builds with CONFIG_USERSPACE enabled. Without CONFIG_USERSPACE, the issue remains a robustness defect on the caller side. The CVSS 3.1 score is 7.8 (high severity) reflecting local attack vector, low complexity, low privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

A fix is available and implemented in Zephyr versions 4.4.2 and later. The fix replaces the incorrect buffer size check with a call to a shared helper function that correctly validates the buffer size before sampling starts. Users should upgrade to Zephyr 4.4.2 or later to remediate this vulnerability. Until patched, avoid granting unprivileged user-mode threads access to the ADI MAX32 ADC device to mitigate exploitation risk.

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-07-30T17:54:10.376Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6abacf15f7a7c541062b9a59

Added to database: 09/28/2026, 20:33:25 UTC

Last enriched: 09/28/2026, 20:47:40 UTC

Last updated: 09/28/2026, 20:47:40 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