Vulnerability · Published May 30, 2026 · Assigned by zephyr
CVE-2026-5071can: Local Denial of Service via SocketCAN Send
Medium 6.1
In plain English
A medium-severity out-of-bounds read in Zephyr from zephyrproject-rtos. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| zephyrproject-rtos | Zephyr | * – before 3.7.24.0.0 – before 4.2.24.3.0 – before 4.3.1 |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H