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.
References
| Link | Resource |
|---|---|
| https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-c3w6-x7m3-3c58 | Exploit Patch Vendor Advisory |
Configurations
History
22 Jul 2026, 06:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
08 Jul 2026, 13:30
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:* | |
| First Time |
Zephyrproject
Zephyrproject zephyr |
|
| References | () https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-c3w6-x7m3-3c58 - Exploit, Patch, Vendor Advisory |
30 May 2026, 08:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-30 08:16
Updated : 2026-10-15 23:17
NVD link : CVE-2026-5071
Mitre link : CVE-2026-5071
CVE.ORG link : CVE-2026-5071
JSON object : View
Products Affected
zephyrproject
- zephyr
CWE
CWE-125
Out-of-bounds Read
