CVE-2026-87040
Awaiting Analysis Awaiting Analysis - Queue

Bluetooth LE Controller Memory Corruption via Unchecked PDU Length

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

Publication date: 2026-11-04

Last updated on: 2026-11-04

Assigner: Zephyr Project

Description

The nRF link-layer receive paths of the open-source Bluetooth LE Controller did not validate the on-air LENGTH field of a received PDU against the maximum receive length that was used to program the radio. isr_rx_pdu() in subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c enqueued any non-empty data PDU after only the sequence-number and (for encrypted links) MIC checks, and the corresponding isr_rx() handlers in lll_central_iso.c, lll_peripheral_iso.c, lll_sync_iso.c and lll_scan_aux.c did the same for ISO and extended-advertising PDUs. The nRF radio stores the received header verbatim and truncates only the payload at PCNF1.MAXLEN, so a frame declaring more octets than were configured leaves a node buffer whose len field describes more data than the buffer holds. An attacker within radio range that can emit a hand-crafted link-layer PDU β€” for a connection, any peer that establishes an unencrypted LE connection to a connectable advertiser; for CONFIG_BT_CTLR_SYNC_ISO, any broadcaster the device is synchronised to β€” can set the length byte up to 255 while the controller has programmed a much smaller maximum (lll->dle.eff.max_rx_octets, which is 27 until a Data Length Update, or the negotiated cis_lll->rx.max_pdu). No pairing, authentication or user interaction is required. On encrypted links the CCM MIC check normally rejects such a frame first, so the exposure is on unencrypted traffic, which is why the added check is placed after decryption. The unchecked length reaches hci_acl_encode() in subsys/bluetooth/controller/hci/hci.c, which performs net_buf_add(buf, pdu_data->len) followed by a memcpy() of that many bytes out of the node_rx pool element. Because CONFIG_BT_CTLR_DATA_LENGTH_MAX and CONFIG_BT_BUF_ACL_RX_SIZE both default to 27, this is an out-of-bounds read of up to roughly 228 bytes past the received PDU and a corresponding out-of-bounds write past the HCI ACL buffer into neighbouring buffers of the same pool; the tailroom test in net_buf_simple_add() is only enforced when CONFIG_NET_BUF_HARDENING (or CONFIG_ASSERT) is enabled. On the ISO paths the same unchecked length makes isoal_rx_append_to_sdu() read past the ISO node buffer and emit adjacent controller RAM to the host as ISO data. The practical result is remote memory corruption and controller crashes, plus disclosure of controller memory into the host data path. The fix rejects any received PDU whose length exceeds the value that was used to configure the radio reception. Note that lll_sync.c (periodic advertising sync reception) was not changed and still enqueues received PDUs without an equivalent bound.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
zephyrproject zephyr 1.6.0
zephyrproject zephyr 4.4.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-120 The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves the nRF Bluetooth LE Controller in Zephyr RTOS not validating the length field of received Bluetooth packets. An attacker within radio range can send a crafted packet with a length field set to 255 bytes, even when the controller is configured for a much smaller maximum receive length (e.g., 27 bytes). This leads to out-of-bounds memory access, causing remote memory corruption, controller crashes, and potential disclosure of controller memory.

Detection Guidance

This vulnerability affects the Zephyr RTOS Bluetooth LE Controller and requires checking the Bluetooth controller implementation for unpatched versions. Inspect the Bluetooth controller code for missing PDU length validation in files like lll_conn.c, lll_central_iso.c, lll_peripheral_iso.c, lll_sync_iso.c, and lll_scan_aux.c. Check if the fix from commit 8ca41216e8e47a018e52044992789b5011ac99aa is applied.

Impact Analysis

An attacker could exploit this to crash the Bluetooth controller, corrupt memory, or leak sensitive data from the device's memory. Since no authentication or pairing is required, any nearby device using an affected Zephyr Bluetooth stack could be targeted, potentially disrupting services or exposing internal data.

Compliance Impact

This vulnerability could lead to unauthorized memory access, potentially exposing sensitive data. For GDPR, this may violate principles of data protection and confidentiality. For HIPAA, it could compromise protected health information. Compliance may be impacted if the vulnerability results in data breaches or unauthorized access to regulated data.

Mitigation Strategies

Apply the security patch from commit 8ca41216e8e47a018e52044992789b5011ac99aa to add PDU length validation. Disable unencrypted Bluetooth LE connections if possible. Monitor for unusual controller crashes or memory corruption. Ensure CONFIG_NET_BUF_HARDENING is enabled to add bounds checks.

Chat Assistant

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

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...