Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect unpaired BR/EDR device in radio range
-
DeliveryEstablish L2CAP channel on PSM 3 (RFCOMM)
-
ExploitSend malformed FCS-valid MCC TEST frame on DLCI 0
-
ExecutionTrigger buf->len-1 uint8_t underflow to 255
-
PersistLeak ~255 bytes of neighbouring buffers and corrupt TX buffer
-
ImpactDisclose memory to peer and crash Bluetooth host
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Required: an unpaired BR/EDR (Bluetooth Classic) peer within radio range of a connectable target running Zephyr with CONFIG_BT_RFCOMM enabled - pulled in transitively by the SPP, HFP, HSP and GOEP profiles. No pairing, link key, DLC, or RFCOMM session state is needed: the RFCOMM L2CAP server is registered at BT_SECURITY_L1 and l2cap_br_conn_security() admits a peer that does not claim host Secure Simple Pairing support, and the MCC TEST frame is processed the moment the PSM 3 channel is established. The ~255-byte information-disclosure over-read fires on default affected builds. The out-of-bounds write is LIMITED to configurations where CONFIG_BT_RFCOMM_L2CAP_MTU (defaulting to CONFIG_BT_BUF_ACL_RX_SIZE) exceeds CONFIG_BT_L2CAP_TX_MTU (253): plain BR/EDR defaults (ACL RX 200) do not reach it, whereas enabling CONFIG_BT_GOEP from v4.3.0 raises ACL RX to 264 (265 from v4.4.0) and does, overrunning the TX buffer by up to eight bytes even with fix 1 applied. Overall limiting factors: Bluetooth Classic must be built and active, the device must be connectable and in range, and full remediation requires updating to 4.5.0 (both fixes). |
| Impact | Signals mostly agree this is a genuine near-term priority within a limited exposure footprint. The CVSS 3.1 vector (AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H, 8.3) describes an unauthenticated, low-complexity attack reachable by any unpaired BR/EDR device in Bluetooth radio range, and the code evidence corroborates each metric: bt_rfcomm_init() registers the RFCOMM L2CAP server at sec_level L1, l2cap_br_conn_security() accepts it with no link key from a peer not claiming host SSP, and the MCC TEST handler runs before any DLC exists, so no authentication gates the defect. The vuln.today decision label is this_week (not act_now/emergency). There is no CISA KEV entry and no EPSS score in the input, so there is no evidence of active or at-scale exploitation; a public PoC reference exists (a libFuzzer/ASan harness that faithfully reproduces the over-read) but it is a function-level reproduction, not verified working exploit code against a live device, and PoC availability is not exploitation. What tempers raw severity is deployment reality rather than the vector: this is an embedded-RTOS defect requiring Bluetooth Classic (CONFIG_BT_RFCOMM) on a connectable target, and the out-of-bounds write only materialises when the RFCOMM L2CAP receive MTU exceeds CONFIG_BT_L2CAP_TX_MTU - plain BR/EDR defaults (200 vs 253) cannot reach the write (the ~255-byte disclosure over-read still occurs), whereas GOEP builds (ACL RX raised to 264/265) reach it even with only fix 1 applied. No conflicting signals appear in the primary data; the chief uncertainty is the real-world install base of BT-Classic-RFCOMM Zephyr builds, which the input does not quantify. |
| Exploit ScenarioDerived | An attacker within Bluetooth range of a connectable Zephyr device that has CONFIG_BT_RFCOMM enabled (via SPP, HFP, HSP, GOEP, etc.) opens an L2CAP channel to PSM 3 without pairing and sends a single five-byte, FCS-valid MCC TEST UIH frame on DLCI 0. The buf->len - 1 underflow truncates to 255, so the device echoes ~255 bytes of adjacent net_buf pool memory back to the attacker (repeatable, attacker-primeable information disclosure) and, on GOEP-sized builds, the accompanying out-of-bounds write overruns the transmit buffer by about eight bytes and can crash the Bluetooth host. A public PoC reference (libFuzzer/ASan harness) reproduces the over-read but is not verified as a working on-device exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
The Zephyr Bluetooth Classic host stack (RFCOMM, subsys/bluetooth/host/classic/rfcomm.c) mishandles the MCC TEST command: an attacker-supplied five-byte UIH frame on DLCI 0 can leave buf->len == 0 after the two-byte multiplexer header is pulled, so 'buf->len - 1' underflows and narrows to 255 in the uint8_t length parameter of rfcomm_send_test(). The 255-byte copy reads past the ACL receive buffer into neighbouring net_buf pool buffers and echoes that memory back to the peer in the TEST response, and because net_buf_add_mem() performs no runtime bounds check in ordinary builds the destination also overruns the 253-byte transmit tailroom by about eight bytes. Any connectable device running Zephyr v1.7.0 through v4.4.x with CONFIG_BT_RFCOMM enabled (pulled in by SPP, HFP, HSP or GOEP) is exposed to an unpaired BR/EDR peer in radio range, since the RFCOMM L2CAP server is registered at BT_SECURITY_L1 and no pairing, link key, DLC or session state is required; the disclosure is reachable on default builds while the out-of-bounds write additionally requires CONFIG_BT_RFCOMM_L2CAP_MTU to exceed CONFIG_BT_L2CAP_TX_MTU, as happens in GOEP builds from v4.3.0 onward. A public proof-of-concept fuzz harness reproducing the over-read exists in the reporter's disclosure; it is not verified as working remote exploit code, and there is no confirmed active exploitation (no CISA KEV listing in the supplied data).
RemediationAI
Update to Zephyr 4.5.0, which contains both required fixes: 0040ef781e1d705066045850782cd8efa5beaa02 (#115768), which strips the FCS byte in rfcomm_recv(), echoes buf->len and rejects lengths over UINT8_MAX, and 214530895dd327ef34468fb25e132df6976e927c (#118293), which adds a tailroom check to every RFCOMM PDU allocation. Applying only the first commit is insufficient: rfcomm_make_uih_msg() still allocates via bt_l2cap_create_pdu() without comparing the requested length against tailroom, so a well-formed TEST command with a pattern around 248 bytes or more still overruns the 253-byte transmit buffer by up to eight bytes whenever CONFIG_BT_RFCOMM_L2CAP_MTU exceeds CONFIG_BT_L2CAP_TX_MTU, which GOEP builds hit from v4.3.0. Backport both commits together; Zephyr v4.3.2 already carries fix 1 but will not receive fix 2, so that line needs a manual or configuration-level change. Where updating is not immediately possible, disabling CONFIG_BT_RFCOMM removes the reachable handler at the cost of SPP, HFP, HSP and GOEP functionality, and avoiding CONFIG_BT_GOEP keeps CONFIG_BT_BUF_ACL_RX_SIZE at the 200-byte default below the 253-byte TX MTU, which keeps the out-of-bounds write out of reach but does not prevent the 255-byte information disclosure. Builds that define CONFIG_NET_BUF_HARDENING turn the unchecked memcpy into an assertion, but that option does not exist in v4.4.0 and is not a substitute for either fix. Downstream consumers of the OpenVela external_zblue fork must apply the equivalent change to that tree.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
RFCOMM runs over L2CAP PSM 3 and uses UIH frames whose trailing FCS is a CRC-8 over header bytes, so the checksum is attacker-computable and offers no protection. The multiplexer control channel (DLCI 0) is serviced by rfcomm_handle_msg(), which validates only that the buffer holds the 2-byte struct bt_rfcomm_msg_hdr before pulling it, leaving buf->len == 0 for a minimal TEST frame; the BT_RFCOMM_TEST branch then computed the echo length as buf->len - 1, which promotes to int -1 and truncates to 255 in rfcomm_send_test()'s uint8_t len. The sink, net_buf_add_mem(buf, pattern, len), relies on net_buf_simple_ok(), which collapses to __ASSERT_NO_MSG() outside CONFIG_NET_BUF_HARDENING and is compiled out in production, so the memcpy is unchecked and both the source read and destination write run past their allocations. The transmit PDU comes from bt_l2cap_create_pdu() sized from CONFIG_BT_L2CAP_TX_MTU (253 bytes of tailroom by default for CONFIG_BT_CLASSIC), while the receive buffer is sized by CONFIG_BT_BUF_ACL_RX_SIZE (200 default) via CONFIG_BT_RFCOMM_L2CAP_MTU, which is why a 255-byte read crosses into adjacent pool buffers. The advisory classifies the root cause as CWE-191 integer underflow producing CWE-125 out-of-bounds read and CWE-787 out-of-bounds write. Reachability is enabled by bt_rfcomm_init() registering the L2CAP server with .sec_level = BT_SECURITY_L1, which l2cap_br_conn_security() satisfies without a link key for peers not claiming host Secure Simple Pairing, and the only send-side gate (buf->len > br_chan->tx.mtu, peer-supplied, default 672) does not block the 261-byte leaking response. The flaw was introduced by fb07eb9022125e0c7b1001201403dded9e6bd6b6 ("Bluetooth: RFCOMM: Respond to Test command", 2016-12-15), first shipped in v1.7.0.
Know when Zephyr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
Adjacent Bluetooth radio (AV:A), no pairing or link key required (PR:N, AC:L); ~255-byte disclosure gives C:H, the bounded ~8-byte TX overrun gives I:L, and a host crash gives A:H.
Primary rating from Vendor (zephyrproject).
CVSS VectorVendor: zephyrproject
Lifecycle Timeline
2DescriptionCVE.org
The RFCOMM multiplexer control-channel handler in subsys/bluetooth/host/classic/rfcomm.c computed the echo length for a BT_RFCOMM_TEST command as buf->len - 1 and passed it to rfcomm_send_test(), whose length parameter is a uint8_t. A malformed but FCS-valid UIH frame on DLCI 0 can leave buf->len == 0 after rfcomm_handle_msg() pulls the two-byte MCC header, so buf->len - 1 underflows and narrows to 255.
rfcomm_send_test() then copies 255 bytes out of a receive buffer that holds no remaining valid data, and appends them to an outgoing L2CAP PDU allocated with only CONFIG_BT_L2CAP_TX_MTU (253 by default for CONFIG_BT_CLASSIC) bytes of tailroom. The source read runs past the end of the ACL receive buffer into adjacent buffers of the same net_buf pool, and the destination copy overruns the transmit buffer by about eight bytes; net_buf_add_mem() performs no runtime bounds check in ordinary builds, where the underlying __ASSERT_NO_MSG() is compiled out.
The trigger is a single five-byte RFCOMM frame on the multiplexer control channel, which is processed as soon as the L2CAP channel for PSM 3 is established - before any DLC exists and independent of RFCOMM session state. bt_rfcomm_init() registers that L2CAP server with .sec_level = BT_SECURITY_L1, which l2cap_br_conn_security() accepts without any link key from a peer that does not claim host Secure Simple Pairing support, so an unpaired BR/EDR device in radio range of a connectable target with CONFIG_BT_RFCOMM enabled (SPP, HFP, HSP, GOEP and similar profiles all enable it) can reach the defect.
The resulting 255-byte TEST response is transmitted back to the attacker, disclosing roughly 255 bytes of adjacent stack/pool memory - including the contents of neighbouring receive buffers, which an attacker can prime with earlier packets - and the accompanying out-of-bounds write corrupts memory following the transmit buffer, which can crash the Bluetooth host. The request is trivially repeatable, so both the disclosure and the corruption can be driven at will.
Two fixes are needed, and the first on its own does not close the out-of-bounds write. Fix 1 (0040ef781e1d, #115768) strips the FCS byte in rfcomm_recv() and echoes buf->len, rejecting anything over UINT8_MAX, which removes the underflow and the over-read. But rfcomm_make_uih_msg() still allocates the response with bt_l2cap_create_pdu() and never compares the requested length with the buffer's tailroom, so a well-formed TEST command carrying a pattern of about 248 bytes or more still builds a response (3-byte frame header, 2-byte message header, pattern, FCS) larger than the 253 bytes available. A pattern that long can only be received when the RFCOMM L2CAP receive MTU (CONFIG_BT_RFCOMM_L2CAP_MTU, which defaults to CONFIG_BT_BUF_ACL_RX_SIZE) exceeds CONFIG_BT_L2CAP_TX_MTU. The plain BR/EDR defaults (200 against 253) cannot reach it, but from v4.3.0 enabling CONFIG_BT_GOEP raises CONFIG_BT_BUF_ACL_RX_SIZE to 264 (265 from v4.4.0), so GOEP builds with only fix 1 applied still overrun the transmit buffer by up to eight bytes. This includes v4.3.2, the last v4.3 release, which carries fix 1 but will not receive fix 2. Fix 2 (214530895dd3, #118293) checks the tailroom on every RFCOMM PDU allocation and closes this residual write.
Technical POC Analysis
CWE-125 out-of-bounds read is the assigned weakness; the advisory also lists CWE-191 integer underflow and CWE-787 out-of-bounds write.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-77685 is a high-severity Bluetooth Classic vulnerability affecting any connectable Zephyr-based device that runs the RFCOMM protocol, such as products using Serial Port Profile, Hands-Free Profile, or Object Exchange. An attacker within radio range can exploit a length underflow to leak neighboring memory contents over the Bluetooth link and potentially corrupt device state, without needing to pair or authenticate. This impacts products in the field, exposes sensitive adjacent memory, and could lead to further compromise or device instability, requiring immediate leadership attention to assess exposure and coordinate mitigation.
No vendor-released patch identified at time of analysis; interim mitigations include disabling CONFIG_BT_RFCOMM if not operationally required, restricting Bluetooth discoverability and physical proximity, and monitoring for suspicious RFCOMM connections.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),
An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on
Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit
Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS
Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner
Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability
Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul
zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(
Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul
The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte
Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c
EUVD-2026-123037
NVD
CVE.org
EPSS
GitHub
Exploit-DB