can: Local Denial of Service via SocketCAN Send
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.
CVE-2026-5071
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-5071
Zephyr
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/zephyrproject-rtos/zephyr",
"vendor": "zephyrproject-rtos",
"product": "Zephyr",
"versions": [
{
"status": "affected",
"version": "*",
"lessThan": "3.7.2",
"versionType": "git"
},
{
"status": "affected",
"version": "4.0.0",
"lessThan": "4.2.2",
"versionType": "git"
},
{
"status": "affected",
"version": "4.3.0",
"lessThan": "4.3.1",
"versionType": "git"
}
],
"packageName": "Zephyr",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-5071
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #32281 · Revision 1
- Added to Heist Feed
- Publisher date