CVE-2026-5071
Description
The SocketCAN implementation validates the length of a user-provided buffer containing a socketcan_frame object using only a NET_ASSERT statement in zcan_sendto_ctx() before dereferencing it in socketcan_to_can_frame(). In production builds where assertions are disabled, a userspace application that controls the length passed to a sendto syscall can supply an incomplete or truncated frame, causing socketcan_to_can_frame() to dereference fields beyond the end of the buffer. This results in an out-of-bounds read that can cause denial-of-service crashes or, because the parsed frame contents are transmitted on the network, leak adjacent memory.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3(expand)+ 1 more
- (no CPE)
- cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*range: <=4.3.0
Patches
Vulnerability mechanics
References
1- github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-c3w6-x7m3-3c58nvdExploitPatchVendor Advisory
News mentions
0No linked articles in our index yet.