CVE-2026-19186
Received Received - Intake

Buffer Overflow in Zephyr RTOS IEEE 802.15.4 Security

Vulnerability report for CVE-2026-19186, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-07

Last updated on: 2026-10-07

Assigner: Zephyr Project

Description

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().

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-07
Last Modified
2026-10-07
Generated
2026-10-07
AI Q&A
2026-10-07
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
zephyrproject zephyr 3.2.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.
CWE-191 The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-19186 is a high-severity vulnerability in the Zephyr RTOS IEEE 802.15.4 stack. It involves an integer underflow in the ieee802154_decipher_data_frame() function during frame decryption. When a payload is shorter than the authentication tag length, an 8-bit unsigned integer subtraction wraps around to a large value. This causes the crypto layer to read and write beyond the allocated buffer, leading to memory corruption and potential system crashes.

Impact Analysis

The vulnerability can cause out-of-bounds memory reads and writes, corrupting adjacent network buffers or allocator metadata. This typically results in system faults or crashes, leading to denial of service. Memory corruption may also affect other packets or system stability. No key material or prior authentication is required for exploitation.

Mitigation Strategies
  • Disable the CONFIG_NET_L2_IEEE802154_SECURITY option if enabled in your Zephyr RTOS configuration.
  • Ensure no active security sessions exist with levels other than IEEE802154_SECURITY_LEVEL_NONE.
  • Apply the official patch from Zephyr RTOS versions 3.7, 4.3, 4.4, or upgrade to version 4.5.0 or later.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-19186. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart