Description
A remote, unauthenticated BLE peer can trigger a 2-byte out-of-bounds write in the Bluetooth host during L2CAP LE CoC SDU reassembly. When the application enables segmentation (via chan_ops.alloc_buf) and the chosen RX pool has a user_data_size smaller than 2 bytes, the segmentation counter stored in the net_buf user_data area is written out of bounds in l2cap_chan_le_recv_seg (subsys/bluetooth/host/l2cap.c). The observed effects are an AddressSanitizer abort and, without ASan, heap corruption / fatal error.
Published: 2026-06-09
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A remote, unauthenticated BLE peer can trigger an out‑of‑bounds write by sending a specially crafted L2CAP LE CoC segmentation counter. When segmentation is enabled via chan_ops.alloc_buf and the selected receive buffer pool has a user_data_size smaller than two bytes, the segmentation counter stored in the net_buf user_data area is written beyond its bounds in l2cap_chan_le_recv_seg. The result is heap corruption that causes a fatal error or, under AddressSanitizer, an abort. This memory corruption could allow an attacker to crash the Bluetooth host or, if the attacker can control the overwritten data, could potentially lead to code execution.

Affected Systems

The flaw affects the Zephyr RTOS project. Any Zephyr build that enables L2CAP LE CoC segmentation and uses a receive buffer pool with a user_data_size less than two bytes is potentially vulnerable. Builds that do not enable segmentation or that use a pool with a larger user_data_size are not impacted. No specific release versions are listed in the advisory, so the vulnerability may exist in current Zephyr releases that match this configuration.

Risk and Exploitability

The CVSS score of 7.6 indicates a high severity vulnerability. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers only need an unauthenticated remote BLE peer capable of initiating a CoC connection to craft a packet that triggers the overflow. The vulnerability is exploitable before authentication of the BLE link, so an untrusted device can reliably cause the overflow. Because the write corrupts the heap, the actual exploitability depends on memory layout; it can produce a denial of service or, in some scenarios, allow arbitrary code execution if the attacker can control the overwritten data.

Generated by OpenCVE AI on June 9, 2026 at 08:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Zephyr patch that fixes the out‑of‑bounds write (see the GHSA‑qrcq‑hxwj‑mqxm advisory for the commit).
  • If a patch cannot be applied immediately, reconfigure the Bluetooth host to disable L2CAP LE CoC segmentation or ensure the receive buffer pool has a user_data_size of at least two bytes.
  • Validate that no untrusted BLE devices are attempting CoC connections; restrict or authenticate BLE connections as soon as possible.

Generated by OpenCVE AI on June 9, 2026 at 08:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 09 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 09 Jun 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Zephyrproject-rtos
Zephyrproject-rtos zephyr
Vendors & Products Zephyrproject-rtos
Zephyrproject-rtos zephyr

Tue, 09 Jun 2026 07:45:00 +0000

Type Values Removed Values Added
Description A remote, unauthenticated BLE peer can trigger a 2-byte out-of-bounds write in the Bluetooth host during L2CAP LE CoC SDU reassembly. When the application enables segmentation (via chan_ops.alloc_buf) and the chosen RX pool has a user_data_size smaller than 2 bytes, the segmentation counter stored in the net_buf user_data area is written out of bounds in l2cap_chan_le_recv_seg (subsys/bluetooth/host/l2cap.c). The observed effects are an AddressSanitizer abort and, without ASan, heap corruption / fatal error.
Title bt: l2cap le coc: remote oob write via seg counter stored in net_buf user_data
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H'}


Subscriptions

Zephyrproject-rtos Zephyr
cve-icon MITRE

Status: PUBLISHED

Assigner: zephyr

Published:

Updated: 2026-06-09T13:10:47.215Z

Reserved: 2026-03-27T22:48:19.869Z

Link: CVE-2026-5068

cve-icon Vulnrichment

Updated: 2026-06-09T13:10:41.877Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-06-09T08:16:29.073

Modified: 2026-06-09T13:53:24.200

Link: CVE-2026-5068

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-09T08:30:35Z

Weaknesses