Skip to main content

CVE-2026-16513: memory-safety in zephyrproject zephyr

0
High
VulnerabilityCVE-2026-16513cvecve-2026-16513
Published: 09/28/2026 (09/28/2026, 19:59:57 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

CVE-2026-16513 is a memory-safety vulnerability in the Zephyr RTOS affecting the userspace verifier function z_vrfy_rtio_sqe_copy_in_get_handles(). It allows a user-mode thread with access to an RTIO kernel object to perform a write-what-where operation by storing a kernel address through an unchecked pointer, potentially corrupting kernel memory and escalating privileges. This affects builds with CONFIG_USERSPACE and CONFIG_RTIO enabled. The vulnerability is fixed by adding a memory write check on the handle parameter to ensure it lies in writable user memory.

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
>=3.4.0 <4.4.2
GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=3.4.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:48 UTC

Technical Analysis

The vulnerability exists in the userspace verifier function z_vrfy_rtio_sqe_copy_in_get_handles() in Zephyr's RTIO subsystem. The function validates the RTIO object handle and input array but does not validate the handle out-parameter before writing to it. This allows a user-mode thread with a struct rtio kernel object to supply an arbitrary address for the handle parameter, resulting in a write-what-where primitive that writes a kernel pointer to an attacker-chosen kernel address. This can corrupt kernel function pointers, thread structures, or memory-domain partition tables, enabling privilege escalation from user mode to kernel mode. The issue affects Zephyr versions >=3.4.0 and <4.4.2 with CONFIG_USERSPACE and CONFIG_RTIO enabled. The fix adds a K_SYSCALL_MEMORY_WRITE check on the handle parameter to ensure it is writable by the calling thread, preventing the exploit.

Potential Impact

This vulnerability allows a user-mode thread with access to an RTIO kernel object to perform arbitrary kernel memory writes, potentially corrupting critical kernel data structures and enabling privilege escalation to kernel mode. It compromises the isolation boundary enforced by CONFIG_USERSPACE, leading to a high impact on confidentiality, integrity, and availability of the system. At minimum, it can cause reliable kernel crashes.

Mitigation Recommendations

A fix is available that adds a K_SYSCALL_MEMORY_WRITE check on the handle parameter before the write operation. This ensures the destination address lies within the calling thread's writable memory domain, terminating the thread if not. Users should upgrade to Zephyr version 4.4.2 or later where this fix is included. Until then, avoid enabling both CONFIG_USERSPACE and CONFIG_RTIO simultaneously if possible.

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-21T21:42:58.503Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6abacf14f7a7c541062b9a53

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

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

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