# CVE-2026-87040 - Bluetooth LE Controller accepts received PDUs whose length field exceeds the configured maximum receive length, causing out-of-bounds read and write

DevFeed: [CVE-2026-87040 - Bluetooth LE Controller accepts received PDUs whose length field exceeds the configured maximum receive length, causing out-of-bounds read and write](<https://devfeed.tech/articles/cve-2026-87040-bluetooth-le-controller-accepts-received-pdus-whose-length-field-exceeds-the-configured-maximum-receive-length-causing-out-of-bounds-read-and-write-116064.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-87040>)

Author: cvefeed.io

Published: 2026-11-04T06:17:06Z

Content type: article

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [Bluetooth LE](<https://devfeed.tech/topics/bluetooth-le.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [advertising](<https://devfeed.tech/tags/advertising.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [bluetooth](<https://devfeed.tech/tags/bluetooth.md>), [bluetooth-le](<https://devfeed.tech/tags/bluetooth-le.md>), [buffer](<https://devfeed.tech/tags/buffer.md>), [controller](<https://devfeed.tech/tags/controller.md>), [corruption](<https://devfeed.tech/tags/corruption.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-87040](<https://devfeed.tech/tags/cve-2026-87040.md>), [encrypted](<https://devfeed.tech/tags/encrypted.md>), [hci](<https://devfeed.tech/tags/hci.md>), [interaction](<https://devfeed.tech/tags/interaction.md>), [iso](<https://devfeed.tech/tags/iso.md>), [link](<https://devfeed.tech/tags/link.md>), [out-of-bounds-write](<https://devfeed.tech/tags/out-of-bounds-write.md>), [radio](<https://devfeed.tech/tags/radio.md>), [range](<https://devfeed.tech/tags/range.md>), [update](<https://devfeed.tech/tags/update.md>), [write](<https://devfeed.tech/tags/write.md>), [zephyr](<https://devfeed.tech/tags/zephyr.md>), [zephyrproject](<https://devfeed.tech/tags/zephyrproject.md>)

## AI overview

The nRF Bluetooth LE Controller failed to check received PDU length fields against the maximum length configured for the radio, allowing malformed packets to make downstream code read or write beyond buffers. A nearby attacker could trigger this on unencrypted LE connections or from a broadcaster the device is synchronised to for CONFIG_BT_CTLR_SYNC_ISO; pairing and user interaction are not required. Reported effects include controller crashes, memory corruption, and disclosure of controller memory through host data paths. Encrypted links are normally rejected by the CCM MIC check. The fix rejects PDUs longer than the configured receive maximum. The excerpt notes that periodic advertising sync reception in lll_sync.c was not changed and lacks an equivalent bound.

## Source excerpt

CVE ID :CVE-2026-87040 Published : Nov. 4, 2026, 6:17 a.m. | 3 hours, 54 minutes ago 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 HC