OpenThread RCP transmits MAC-secured 802.15.4 frames without applying the MAC key when using the PSA crypto backend

State
Published
Severity
3.1 Low
Published
Nov 23, 2026
Updated
Nov 23, 2026
Reserved
Sep 29, 2026

Read the record on cve.org

Description

The OpenThread PSA crypto platform backend in modules/openthread/platform/crypto_psa.c only supported PSA key references. otPlatCryptoAesSetKey() copied aKey->mKeyRef into the AES context unconditionally. On an OpenThread Radio Co-Processor (RCP) build, CONFIG_OPENTHREAD_CRYPTO_PSA does not select CONFIG_OPENTHREAD_PLATFORM_KEY_REF, so OpenThread passes the MAC key as literal bytes and mKeyRef is uninitialized. psa_cipher_encrypt() in otPlatCryptoAesEncrypt() then fails without writing its output, and the error is only caught by an OpenThread assertion that is compiled to a no-op when CONFIG_ASSERT is disabled.

When the RCP handles transmit security in software, AES-CCM* is never keyed. That is the case with Thread 1.2 or later, where CONFIG_OPENTHREAD_MAC_SOFTWARE_TX_SECURITY_ENABLE defaults to y, on a radio driver without IEEE802154_HW_TX_SEC. Every MAC key-id-mode-1 frame goes out with its payload XORed against a single 16-byte pad of stale stack data, reused for every block, and with an unkeyed MIC. CONFIG_OPENTHREAD_CRYPTO_PSA is enabled by default since v4.4.0.

A passive attacker within 802.15.4 radio range can recover the pad from predictable plaintext (for example 6LoWPAN headers) and read the payload of the frames the device transmits. The practical impact is limited. The configuration is not the default (the default Thread version is 1.1), and the same defect makes peers reject every secured data frame, so an affected device cannot exchange data on the network. Received traffic and key distribution are not affected. With CONFIG_ASSERT enabled, the RCP halts on the first secured transmission instead.

ProductVersions
zephyr zephyrproject3.7.0 to before 4.5.0 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.