{"id":"CVE-2026-5071","state":"PUBLISHED","title":"can: Local Denial of Service via SocketCAN Send","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.","publishedAt":"2026-05-30T07:15:56.417Z","updatedAt":"2026-10-15T22:10:26.359Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","source":"zephyr"},"assigner":"zephyr","products":["zephyrproject-rtos Zephyr"],"affected":[{"vendor":"zephyrproject-rtos","product":"Zephyr","packageName":"Zephyr","defaultStatus":"unaffected","versions":[{"version":"*","status":"affected","lessThan":"3.7.2","versionType":"git"},{"version":"4.0.0","status":"affected","lessThan":"4.2.2","versionType":"git"},{"version":"4.3.0","status":"affected","lessThan":"4.3.1","versionType":"git"}],"repo":"https://github.com/zephyrproject-rtos/zephyr"}],"references":["https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-c3w6-x7m3-3c58"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/5xxx/CVE-2026-5071.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-5071","state":"PUBLISHED","datePublished":"2026-05-30T07:15:56.417Z","dateUpdated":"2026-10-15T22:10:26.359Z","assignerShortName":"zephyr","assignerOrgId":"e2e69745-5e70-4e92-8431-deb5529a81ad","dateReserved":"2026-03-27T23:41:28.910Z"},"containers":{"cna":{"title":"can: Local Denial of Service via SocketCAN Send","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"zephyrproject-rtos","product":"Zephyr","packageName":"Zephyr","defaultStatus":"unaffected","versions":[{"version":"*","status":"affected","lessThan":"3.7.2","versionType":"git"},{"version":"4.0.0","status":"affected","lessThan":"4.2.2","versionType":"git"},{"version":"4.3.0","status":"affected","lessThan":"4.3.1","versionType":"git"}],"repo":"https://github.com/zephyrproject-rtos/zephyr"}],"references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-c3w6-x7m3-3c58"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"Out-of-bounds Read","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"zephyr","orgId":"e2e69745-5e70-4e92-8431-deb5529a81ad","dateUpdated":"2026-10-15T22:10:26.359Z"},"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"swg-tools/create-cve-info"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-01T13:51:23.839460Z","id":"CVE-2026-5071","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-01T13:51:32.526Z"}}]}}}