CVE-2026-18415: bounds in zephyrproject zephyr
CVE-2026-18415 is a vulnerability in the Zephyr project's ieee802154_send() function where an unchecked buffer copy can cause an out-of-bounds write to a fixed 125-byte transmit buffer. This occurs when sending packets via NET_AF_PACKET sockets bound to an 802.15.4 interface, specifically for NET_SOCK_RAW and NET_SOCK_DGRAM socket types, bypassing length validation. The overrun can corrupt adjacent memory, potentially crashing or compromising kernel state. The issue is fixed in Zephyr version 4.4.2 by adding proper length validation and safer buffer copying.
AI Analysis
Technical Summary
The vulnerability in Zephyr's ieee802154_send() arises from an unchecked net_buf_add_mem() call that copies packet data into a fixed-size 125-byte buffer without sufficient bounds checking when 6LoWPAN fragmentation is disabled or bypassed. While IPv6 packets are protected by length checks and fragmentation, raw and datagram sockets bound to 802.15.4 interfaces lack these checks, allowing an application or unprivileged thread to cause a supervisor-mode out-of-bounds write. The overrun size depends on configuration but can be several bytes beyond the buffer, leading to memory corruption and potential kernel compromise. The fix introduced length validation against IEEE802154_MTU and a safer copying helper that returns an error instead of overrunning buffers, also linearizing net_buf chains into single MAC frames.
Potential Impact
An attacker with the ability to send packets via NET_AF_PACKET sockets on an 802.15.4 interface can cause a bounded out-of-bounds write past a fixed transmit buffer, leading to memory corruption. This can result in a system crash or compromise of kernel state, impacting system integrity and availability. The vulnerability requires local access and elevated privileges (low privilege but supervisor mode) and has no confidentiality impact but high integrity and availability impact.
Mitigation Recommendations
A fix is available in Zephyr version 4.4.2 that adds proper length validation before copying data into the transmit buffer and replaces unsafe buffer copying with a helper that returns an error on oversized packets. Users should upgrade to version 4.4.2 or later. No other mitigation is indicated or required as the vulnerability is addressed by the official fix.
CVE-2026-18415: bounds in zephyrproject zephyr
Description
CVE-2026-18415 is a vulnerability in the Zephyr project's ieee802154_send() function where an unchecked buffer copy can cause an out-of-bounds write to a fixed 125-byte transmit buffer. This occurs when sending packets via NET_AF_PACKET sockets bound to an 802.15.4 interface, specifically for NET_SOCK_RAW and NET_SOCK_DGRAM socket types, bypassing length validation. The overrun can corrupt adjacent memory, potentially crashing or compromising kernel state. The issue is fixed in Zephyr version 4.4.2 by adding proper length validation and safer buffer copying.
CVSS v3.1
Score 6.3medium
Affected software
zephyrproject
zephyr
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Zephyr's ieee802154_send() arises from an unchecked net_buf_add_mem() call that copies packet data into a fixed-size 125-byte buffer without sufficient bounds checking when 6LoWPAN fragmentation is disabled or bypassed. While IPv6 packets are protected by length checks and fragmentation, raw and datagram sockets bound to 802.15.4 interfaces lack these checks, allowing an application or unprivileged thread to cause a supervisor-mode out-of-bounds write. The overrun size depends on configuration but can be several bytes beyond the buffer, leading to memory corruption and potential kernel compromise. The fix introduced length validation against IEEE802154_MTU and a safer copying helper that returns an error instead of overrunning buffers, also linearizing net_buf chains into single MAC frames.
Potential Impact
An attacker with the ability to send packets via NET_AF_PACKET sockets on an 802.15.4 interface can cause a bounded out-of-bounds write past a fixed transmit buffer, leading to memory corruption. This can result in a system crash or compromise of kernel state, impacting system integrity and availability. The vulnerability requires local access and elevated privileges (low privilege but supervisor mode) and has no confidentiality impact but high integrity and availability impact.
Mitigation Recommendations
A fix is available in Zephyr version 4.4.2 that adds proper length validation before copying data into the transmit buffer and replaces unsafe buffer copying with a helper that returns an error on oversized packets. Users should upgrade to version 4.4.2 or later. No other mitigation is indicated or required as the vulnerability is addressed by the official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- zephyr
- Date Reserved
- 2026-07-30T17:54:11.604Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6abacf16f7a7c541062b9a5a
Added to database: 09/28/2026, 20:33:26 UTC
Last enriched: 09/28/2026, 20:48:02 UTC
Last updated: 09/28/2026, 20:48:02 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.