CVE-2026-5071: SocketCAN - Out of Bounds Read
- Cve: CVE-2026-5071
- Name: SocketCAN - Out of Bounds Read
- 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.
- Impact: Attackers can cause denial-of-service crashes or leak adjacent memory, potentially exposing sensitive information.
- Remediation: Update to the latest version with proper length validation or apply patches that enforce buffer length checks.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00167
- Epss percentile: 0.05987
- Assignee: [email protected]
- Published at: 2026-05-30T08:16:16Z
- Age in days: 178
- Modified at: 2026-10-15T23:17:37Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-5071
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-c3w6-x7m3-3c58 | nvd | 2026-05-30 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-c3w6-x7m3-3c58 | nvd | Exploit, Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| zephyrproject:zephyr | <= 4.3.0 | no | nvd | /v1/products/zephyrproject/zephyr |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| zephyrproject-rtos/zephyr | security_advisory | yes | /v1/repositories/zephyrproject-rtos/zephyr |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-05-30
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts