CVE-2026-19595: memory-safety in zephyrproject zephyr
Description
CVE-2026-19595 is a medium severity memory-safety vulnerability in the Zephyr RTOS affecting versions 3.4.0 through 4.4.2. It arises from improper validation of output parameters in a user-mode syscall, allowing an unprivileged thread with access to an RTIO context to cause kernel-mode writes to memory regions that should be read-only. This can either bypass memory domain write protections or cause a kernel fault leading to device halt or reboot, resulting in denial of service.
CVSS v3.1
Score 6.1medium
Affected software
zephyrproject
zephyr
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
Technical Analysis
The vulnerability exists in the user-mode syscall verifier function z_vrfy_rtio_cqe_get_mempool_buffer() within Zephyr's RTIO subsystem. The function incorrectly validates its output parameters buff and buff_len with a read permission check (K_SYSCALL_MEMORY_READ()) instead of a write permission check (K_SYSCALL_MEMORY_WRITE()). Since these parameters are used for kernel-mode stores, this allows an unprivileged user-mode thread, granted RTIO context access, to write to memory regions that are only read-accessible to that thread. This can lead to either bypassing memory domain write protections or triggering a kernel fault that halts or reboots the device. The vulnerability requires CONFIG_USERSPACE and CONFIG_RTIO_SYS_MEM_BLOCKS to be enabled. The fix replaces the read validation with write validation, causing threads lacking write permission to be terminated before the kernel-mode store occurs.
Potential Impact
An attacker with unprivileged user-mode access to an RTIO context can cause kernel-mode writes to memory regions that should be read-only for that thread, bypassing memory domain write protections. Alternatively, if the target memory is globally readable but not writable (e.g., .text or .rodata sections), the kernel faults and triggers a fatal error handler, causing device halt or reboot. This results in a reliable denial of service. No confidential data disclosure or privilege escalation beyond write bypass is indicated.
Mitigation Recommendations
A fix is available that replaces the incorrect read permission validation with proper write permission validation on the output parameters. This causes threads without write access to be terminated before kernel-mode writes occur. Users should apply the official patch or update to a fixed version. If no patch is immediately available, restricting unprivileged user-mode access to RTIO contexts and disabling CONFIG_RTIO_SYS_MEM_BLOCKS can mitigate exploitation. Patch status is not explicitly confirmed in the input; check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- zephyr
- Date Reserved
- 2026-08-12T05:34:36.022Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ad6a1dc2cdf04f656a20642
Added to database: 10/19/2026, 23:03:56 UTC
Last enriched: 10/19/2026, 23:18:23 UTC
Last updated: 10/19/2026, 23:19:07 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.