Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Zephyrproject | Zephyr | <= 4.3.0 |
Related Weaknesses (CWE)
References
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-c3w6-x7m3-ExploitPatchVendor Advisory
FAQ
What is CVE-2026-5071?
CVE-2026-5071 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 socket...
How severe is CVE-2026-5071?
CVE-2026-5071 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-5071?
Check the references section above for vendor advisories and patch information. Affected products include: Zephyrproject Zephyr.