IT SBIT Services
Schneeberger
DEEN
CVE tracker

Zephyr RTOS: Integer underflow in IEEE 802.15.4 frame decryption

CVE-2026-19186High 8.1

← All vulnerabilities

Summary

An integer underflow in the IEEE 802.15.4 security code of Zephyr RTOS can be triggered by a single crafted short radio frame. The subtraction wraps around, so the crypto layer reads and writes up to roughly 240 bytes beyond the packet buffer. An attacker within radio range needs no key, association or prior authentication, and the likely result is a crash or reboot of the device (denial of service) or memory corruption.

Affected

  • Zephyr RTOS 3.2.0 to 4.4.2
  • Only builds with the experimental CONFIG_NET_L2_IEEE802154_SECURITY option enabled, a crypto device selected and a security session at a level other than NONE
  • Default configurations are not affected

Fixed in

  • Fixed on the main branch (commit 6d721de13a6026808f75578ecfee95a3592d5264)
  • Projected fixed version: 4.5.0 (not yet released at the time of research)
  • Backports exist for the v4.4, v4.3 and v3.7 branches; exact fixed tags for these branches: Unknown.

Workaround

  • No vendor workaround is available.
  • Disabling IEEE 802.15.4 security or using security level NONE removes the exposure, but reduces link protection (inference, verify on the firmware build).

Exploitation

  • No known in-the-wild exploitation.
  • CISA SSVC: exploitation none, automatable no, technical impact total.
  • No public proof of concept found.
  • EPSS: 0.00212.

Our recommendation

  • Check whether any embedded devices or products you deploy or support use Zephyr with IEEE 802.15.4 security enabled; ask the vendor.
  • Rebuild and reflash affected firmware with a fixed Zephyr release once confirmed by the vendor.
  • Verify the fixed tag on the actual release before rollout.
  • Limit radio exposure of affected devices where possible and monitor for crashes or reboots.

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 1 Nov 2026, 20:36.

Original description (NVD)

ieee802154_decipher_data_frame() in subsys/net/l2/ieee802154/ieee802154_frame.c computed payload_len = net_pkt_get_len(pkt) - ll_hdr_len - authtag_len without first checking that the received frame is at least ll_hdr_len + authtag_len bytes long. All three variables are uint8_t, so a frame whose payload is shorter than the configured authentication tag makes the subtraction wrap around to a large value (up to 255). The wrapped length is passed unchanged to ieee802154_decrypt_auth() and on to the CCM operation as cipher_pkt.in_len/out_buf_max, with apkt->tag pointing at frame + ll_hdr_len + payload_len. Because the receive buffer is allocated to the exact length of the frame received from the radio driver, the crypto layer then reads several hundred bytes past the end of the packet buffer and writes the same number of decrypted bytes back over it in place. The frame's authentication tag is only verified after this processing has taken place, so no key material, association or prior authentication is needed — a single crafted short frame from any device in radio range is sufficient. Frame validation in ieee802154_validate_frame() does not prevent it: a data frame is accepted with a one-byte payload. The result is an out-of-bounds read and an out-of-bounds write of up to roughly 240 bytes into the adjacent network-buffer pool, corrupting other packets or allocator metadata and typically faulting the target. The out-of-bounds content is not attacker-chosen (it is ciphertext XOR keystream over out-of-bounds memory) and the frame is dropped when tag verification fails, so the primary impact is memory corruption and denial of service rather than information disclosure. Exposure is limited to configurations that enable the experimental CONFIG_NET_L2_IEEE802154_SECURITY option, select a crypto device via CONFIG_NET_L2_IEEE802154_SECURITY_CRYPTO_DEV_NAME, and have established a security session with a level other than IEEE802154_SECURITY_LEVEL_NONE; with security disabled or at level NONE the tag length is zero and no underflow occurs. The fix rejects frames shorter than ll_hdr_len + authtag_len before the subtraction, and adds the matching guard on the transmit side in ieee802154_create_data_frame().

NVD references (2)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.