CVE-2026-5071: can: Local Denial of Service via SocketCAN Send

Published May 30, 2026
·
Updated

The SocketCAN implementation validates the length of a user-provided buffer containing a socketcanframe object using only a NETASSERT statement in zcansendtoctx() before dereferencing it in socketcantocanframe(). 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 socketcantocanframe() 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 Software

2 affected components
Zephyr Project Zephyr OS
zephyrproject zephyr<=4.3.0

Event History

May 30, 2026
CVE Published
via MITRE·07:15 AM
Data Sourced
via MITRE·07:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-5071?

The severity of CVE-2026-5071 is classified as medium with a score of 6.1.

2

What impact does CVE-2026-5071 have?

CVE-2026-5071 can lead to a local denial of service condition in applications using SocketCAN.

3

How do I fix CVE-2026-5071?

To fix CVE-2026-5071, ensure that proper buffer length validations are implemented before dereferencing user-provided buffers.

4

Who is affected by CVE-2026-5071?

CVE-2026-5071 affects users of the Zephyr Project Zephyr OS utilizing the SocketCAN implementation.

5

When was CVE-2026-5071 published?

CVE-2026-5071 was published on May 30, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203