Impact
The STM32WBA IEEE 802.15.4 driver in Zephyr’s networking layer fails to guard against a frame‑length underflow when calculating the packet length from the radio report. If a malicious source on the air side sends a frame whose reported length is 0 or 1, the 8‑bit subtraction wrapped to 254 or 255. That oversized length is then used to read from the radio receive buffer and write into a network packet, pulling roughly 128 bytes past the end of the buffer into the OS memory. The resulting out‑of‑bounds read can expose adjacent RAM contents to the attacker while also allocating an unnecessarily large network packet. The weakness is an example of CWE‑125: Out‑of‑Bounds Read.
Affected Systems
Zephyr RTOS builds that include the STM32WBA IEEE 802.15.4 driver in drivers/ieee802154/ieee802154_stm32wba.c are affected. Any Zephyr release that compiled the driver before the commit that added the length check is vulnerable. Devices using the unpatched driver and running without runtime assertions enabled are at risk.
Risk and Exploitability
The CVSS score of 4.2 denotes moderate severity, the EPSS score is less than 1 % and the vulnerability is not listed in CISA’s KEV catalog. An attacker must be within radio range of the device and able to transmit a crafted IEEE 802.15.4 packet with a length that underflows. The exploit does not provide code execution, but it can leak memory contents and cause inefficient packet allocation, thus primarily raising confidentiality risk while leaving integrity and availability largely intact.
OpenCVE Enrichment