CVE-2026-5071
published medium CVSS 3.1 · 6.1can: Local Denial of Service via SocketCAN Send
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zephyrproject-rtos | — | Zephyrbefore 3.7.2 · 4.0.0 to < 4.2.2 · 4.3.0 to < 4.3.1 · Other versions: unaffected | Affected | Not stated | zephyr |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- zephyr · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zephyrproject-rtos | Zephyr | before 3.7.2 (affected · git)4.0.0 to < 4.2.2 (affected · git)4.3.0 to < 4.3.1 (affected · git)Default: unaffected | zephyr · cna |
Weaknesses
1- CWE-125 Out-of-bounds Read
References
1Provider assertions
2zephyr · cna
can: Local Denial of Service via SocketCAN Send
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 160249abdd03410501710f277d3bc0fe04f26149d8cf94e2fe23444184b55380
- Ingested
- 15 Oct 2026, 23:29:37 UTC
- Source record
- Official CVE record