# CVE-2026-18415: Out-of-bounds write in the IEEE 802.15.4 L2 transmit path for oversized non-6LoWPAN frames

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.14% (percentile 2, 2026-11-28)
- **CWE:** CWE-787
- **Published:** 2026-09-28T20:00:01.312Z
- **Modified:** 2026-11-04T05:18:46.380Z

## Who should check

- Anyone running zephyrproject zephyr \>= 3.2.0, \< 4.3.2; \>= 4.4.0, \< 4.4.2

## Description

ieee802154\_send() in subsys/net/l2/ieee802154/ieee802154.c copies the outgoing packet into a single fixed 125-byte transmit buffer (tx\_frame\_buf\_pool, sized IEEE802154\_MTU). In builds with CONFIG\_NET\_L2\_IEEE802154\_FRAGMENT enabled (the default whenever CONFIG\_NET\_6LO is set), the branch taken when 6LoWPAN fragmentation is not required performed an unchecked net\_buf\_add\_mem(frame\_buf, pkt\_buf-\>data, pkt\_buf-\>len). The only guard was \_\_ASSERT\_NO\_MSG() inside net\_buf\_simple\_add(), which is compiled out without CONFIG\_ASSERT, so an oversized packet silently overran the frame buffer.

The defect is not reachable from the radio: for NET\_AF\_INET6 packets ieee802154\_6lo\_encode\_pkt() compares the whole packet length against IEEE802154\_MTU and takes the fragmentation path when it does not fit, so every buffer copied on the unfragmented branch is within bounds. It is reachable through NET\_AF\_PACKET sockets bound to an 802.15.4 interface: for NET\_SOCK\_RAW the 6LoWPAN block is skipped entirely and for NET\_SOCK\_DGRAM it returns early on the address-family test, leaving no length validation anywhere on the transmit path (net\_context\_sendto() and net\_if\_tx() apply none, and pkt\_buffer\_length() does not clamp the allocation for this L2).

An application — or, in a CONFIG\_USERSPACE build, an unprivileged application thread using the zsock\_socket()/zsock\_sendto() syscalls — can therefore drive a supervisor-mode out-of-bounds write of chosen bytes past the 125-byte pool buffer. With the default CONFIG\_NET\_BUF\_FIXED\_DATA\_SIZE of 128 bytes the overrun is bounded to roughly ll\_hdr\_len + 3 bytes; with CONFIG\_NET\_BUF\_VARIABLE\_DATA\_SIZE a single storage buffer can be as large as CONFIG\_NET\_PKT\_BUF\_TX\_DATA\_POOL\_SIZE, making the overrun far larger. The consequence is corruption of memory adjacent to the pool, with a crash or further compromise of kernel state as the practical impact.

The fix validates ll\_hdr\_len + net\_pkt\_get\_len(pkt) + authtag\_len against IEEE802154\_MTU before any copy and adds a tailroom-checking copy\_pkt\_to\_frame() helper that returns -EMSGSIZE instead of overrunning the buffer. The same change also linearizes the whole net\_buf chain into one MAC frame, so packet storage boundaries no longer become frame boundaries on the wire.

## Affected and fixed versions

- zephyrproject zephyr: \>= 3.2.0, \< 4.3.2; \>= 4.4.0, \< 4.4.2 (cvelist)

## Mitigation

- Upgrade zephyr to 4.4.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-18415. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-18415.md
Affected: zephyrproject zephyr >= 3.2.0, < 4.3.2; >= 4.4.0, < 4.4.2
Fixed in: zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.4.2

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-18415 being exploited?

There is no confirmed exploitation: CVE-2026-18415 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.14% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-18415?

Medium: CVSS 6.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-18415?

zephyrproject zephyr \>= 3.2.0, \< 4.3.2; \>= 4.4.0, \< 4.4.2.

### Is there a fix for CVE-2026-18415?

Yes. Fixed in zephyrproject zephyr 4.3.2, zephyrproject zephyr 4.4.2. Upgrade zephyr to 4.4.2 or later.

### How do I check if I'm affected by CVE-2026-18415?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-j76j-jrjc-xgvp>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/3d4c6177d2dbd77d12d9b14cd75a00cdbd826227>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-18415>

HTML: <https://flawdb.com/CVE-2026-18415> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-18415>
