Out-of-bounds Read in Zephyrproject Zephyr
CVE-2026-5071
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H.
EPSS exploit prediction
EPSS: 0.002 (6.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 6th percentile — 6.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: -0.000
Affected products
Weakness classification (CWE)
References
- github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-c3w6-x7m3-3c58 (Exploit, Patch, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-5071?
- CVE-2026-5071 is a medium-severity vulnerability in Zephyrproject Zephyr, classified under Out-of-bounds Read. CVSS score: 6.1/10. Published 2026-05-30.
- How severe is CVE-2026-5071?
- Medium severity. CVSS v3 base score is 6.1 out of 10.