CVE-2026-19736: bounds in zephyrproject zephyr
Description
CVE-2026-19736 is a vulnerability in the NXP MCUX TRNG entropy driver used in Zephyr OS on certain i.MX RT5xx and RT6xx devices. It causes a buffer overflow when requesting entropy with a length not multiple of four bytes, leading to up to 127 bytes of memory corruption beyond the caller's buffer. This can affect kernel memory or adjacent partitions due to lack of MMU on Cortex-M33 targets. The overflow is deterministic in offset but the data written is uncontrolled TRNG output, potentially causing crashes, state corruption, or privilege escalation. A patch is available that fixes the issue by ensuring only word-aligned requests are passed to the SDK.
CVSS v3.1
Score 7.8high
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 arises because the entropy driver passes the caller's requested byte count directly to the vendor SDK's TRNG_GetRandomData() function, which on affected i.MX RT5xx and RT6xx parts compiles a variant that copies entropy in 32-bit words rounded up to multiples of 128 bytes. If the requested length is not a multiple of four, the SDK's guard check underflows and causes it to write beyond the caller's buffer by up to 127 bytes. This overflow can occur in both user and kernel mode, with user mode able to specify arbitrary destination and length via a syscall. The overflow can corrupt kernel memory or adjacent user partitions due to the lack of MMU on Cortex-M33. The vulnerability affects devices where the MCUX SDK enables TRNG_SW_HEALTH_TESTS (MIMXRT595S, MIMXRT555S, MIMXRT533S, MIMXRT685S, MIMXRT633S). The fix involves routing unaligned prefixes and tails through a local bounce buffer and only passing word-aligned sizes to the SDK, preventing overflow.
Potential Impact
The vulnerability allows memory corruption of up to 127 bytes immediately following the caller's buffer. This can lead to crashes, unpredictable system state corruption, and potential privilege escalation if kernel bookkeeping data structures are overwritten. The overflow is deterministic in offset but the data written is uncontrolled entropy output. The affected devices share SRAM between user partitions and kernel due to lack of MMU, increasing the risk of cross-partition corruption.
Mitigation Recommendations
A patch is available that fixes the vulnerability by ensuring only word-aligned sizes are passed to the SDK and handling unaligned data via a local bounce buffer. Users should apply the official fix in Zephyr versions >=4.3.0 and <=4.4.2. Since this is a kernel-level vulnerability affecting specific hardware, upgrading to the fixed Zephyr release is the recommended mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- zephyr
- Date Reserved
- 2026-08-13T13:46:26.118Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Is Cloud Service
- true
Threat ID: 6acbc88b2cdf04f656e849a8
Added to database: 10/11/2026, 17:34:03 UTC
Last enriched: 10/11/2026, 17:48:20 UTC
Last updated: 10/11/2026, 18:57:20 UTC
Views: 15
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.