Skip to main content

ESP-IDF EUVDEUVD-2026-98738

| CVE-2026-81507 MEDIUM
Out-of-bounds Read (CWE-125)
2026-10-13 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain Bluetooth radio-range proximity to target
  2. Delivery
    Open L2CAP channel to BR/EDR device
  3. Exploit
    Send malformed config request with oversized option length
  4. Execution
    Trigger out-of-bounds read in L2CAP parser
  5. Impact
    Receive leaked stack memory in Config Response

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

Exploitation requires that the target ESP32-class device uses the BlueDroid host stack with Classic Bluetooth (BR/EDR) enabled - devices built with the alternative NimBLE stack or with Classic Bluetooth disabled are not affected. The attacker must be a BR/EDR peer within Bluetooth radio range (AV:A), and must be able to open an L2CAP channel and send a configuration request carrying option-length fields that exceed the remaining received packet bytes. No authentication is required (PR:N) and no user interaction is needed (UI:N). Limiting factors: the Adjacent radio-range requirement prevents remote/internet-based attacks and generally limits exploitation to one target at a time; the memory disclosure is itself conditional ('under some runtime conditions'), so a successful leak of adjacent stack memory is not guaranteed on every attempt.

Impact

This is a genuine but moderate-priority issue, best characterized as a high-confidence CVSS-Medium (6.5) that should NOT be treated as an emergency. The CVSS vector CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N is internally consistent with the description: AV:A (Adjacent) correctly reflects that an attacker must be a BR/EDR peer within Bluetooth radio range rather than a remote network attacker, AC:L reflects that a single malformed L2CAP configuration request triggers the flaw, and PR:N/UI:N reflect unauthenticated exploitation requiring no victim interaction. The impact is scoped to C:H/I:N/A:N (confidentiality only), though the description's own wording - 'under some runtime conditions limited adjacent Bluetooth stack memory can be included' - suggests the real-world disclosure is limited and conditional, arguably closer to C:L than C:H. No EPSS score, KEV listing, or POC was provided in the input: there is no public exploit identified at time of analysis and no evidence of active exploitation. The limiting factors - Adjacent (radio-range) attack vector, confidentiality-only impact, and dependency on Classic Bluetooth being enabled with the BlueDroid host stack - substantially reduce real-world risk compared to a remotely-reachable RCE. SSVC-style reasoning: exploitation = none observed, automatable = no (requires radio proximity to each target), technical impact = partial (limited memory disclosure). Overall: patch on a normal maintenance cadence, prioritizing devices with Classic Bluetooth exposed in physically accessible or adversarial environments.

Exploit ScenarioDerived

An attacker within Bluetooth radio range of an ESP32-class device running BlueDroid with Classic Bluetooth (BR/EDR) enabled establishes an L2CAP connection and sends a crafted L2CAP configuration request whose option-length fields exceed the remaining received packet bytes. The unvalidated length triggers an out-of-bounds read in l2c_main.c/l2c_utils.c, and under certain runtime conditions adjacent Bluetooth stack memory is reflected back in the outbound L2CAP Configuration Response, leaking limited internal memory to the attacker. No public exploit was identified in the provided data, and the Adjacent (AV:A) vector means the attacker must be in radio proximity.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 13, 2026

An out-of-bounds read in the ESP-IDF BlueDroid L2CAP configuration-option parser lets an unauthenticated Bluetooth BR/EDR peer within radio range send a malformed configuration request that reads past the end of the received packet, and under some runtime conditions limited adjacent Bluetooth stack memory can be echoed back in an outbound L2CAP Configuration Response. Only ESP32-class devices built with the BlueDroid host stack and Classic Bluetooth (BR/EDR) enabled are affected; builds using the NimBLE stack or with Classic Bluetooth disabled are not exposed. Assessed as CVSS 3.1 6.5 (Medium, AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L), with no public exploit identified at time of analysis and no confirmed active exploitation - a genuine but moderate-priority issue rather than an emergency, addressed in 5.2.8, 5.3.6, 5.5.5, 6.0.3, and 6.1-rc1.

RemediationAI

Vendor-released patch: upgrade ESP-IDF to 5.2.8, 5.3.6, 5.5.5, 6.0.3, or 6.1-rc1 (matching the product line in use) and rebuild/reflash the affected ESP32-class firmware; the fixes are delivered through the tagged releases above, and the underlying code changes are visible in the upstream commits referenced from advisory GHSA-v335-fxwc-rc44 (for example https://github.com/espressif/esp-idf/commit/14c99559b4337cabcf0f09c21d16b93c4cd7a6fe and https://github.com/espressif/esp-idf/commit/c8cd8f4f3019ae2f912c8cbe9974445e8d9b8749), which can be cherry-picked only if you cannot move to a patched release. Note that because ESP-IDF is typically statically linked into device firmware, patching requires a firmware update cycle rather than a server-side change. If an update cannot be shipped immediately, the most effective compensating control is to disable Classic Bluetooth (BR/EDR) entirely or to build with the NimBLE host stack instead of BlueDroid where the application does not require Classic Bluetooth profiles - the trade-off is loss of BR/EDR functionality such as SPP, A2DP or HID-over-Bluetooth. A weaker secondary control is to reduce Bluetooth radio exposure (lower transmit power, keep devices in physically controlled/RF-shielded areas, or disable Bluetooth when not in use), which shrinks the window for a nearby attacker but does not remove the parsing flaw and degrades normal wireless usability. There is no public exploit identified at time of analysis and no confirmed active exploitation, so remediation can be scheduled on a normal patch cadence rather than as an emergency, though devices deployed in public or physically accessible locations where an adjacent BR/EDR peer can operate should be prioritized.

Affected VersionsENISA

esp-idf < 5.2.8
esp-idf 5.3-beta1, < 5.3.6
esp-idf 6.0-beta1, < 6.0.3
esp-idf 6.1-beta1, < 6.1-rc1
esp-idf 5.4-beta1, < 5.5.5

Affected Packages

euvd esp_idf fix: 5.2.8, 5.3.6, 5.5.5, 6.0.3, 6.1-rc1

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

The flaw is a classic CWE-125 out-of-bounds read in the Bluetooth host stack shipped as part of Espressif's ESP-IDF IoT development framework. In process_l2cap_cmd() within components/bt/host/bluedroid/stack/l2cap/l2c_main.c (with related helpers in l2c_utils.c), the code walks the variable-length configuration options of an incoming L2CAP Configuration Request/Response but does not consistently validate each option's declared length (cfg_len) against the bytes actually remaining in the received packet - the upstream fix introduces a p_cfg_opt_end pointer and explicit bounds checks such as cfg_len > (p_cfg_end - p), plus per-option-type length equality checks against L2CAP_CFG_MTU_OPTION_LEN, FLUSH, QOS, FCR, FCS, and EXT_FLOW option lengths, and minimum-length checks (L2CAP_CONFIG_REQ_LEN / L2CAP_CONFIG_RSP_LEN) before parsing proceeds. Because L2CAP is a pre-authentication framing layer, the malformed packet is processed by the BlueDroid host stack without any prior pairing or authentication; the affected product scope is captured by CPE cpe:2.3:a:espressif:esp-idf:*:*:*:*:*:*:*:* (all release lines before the patched versions). The practical consequence is twofold: an out-of-bounds read that can disturb availability, and a conditional information-disclosure path in which bytes adjacent to the configuration buffer can be copied into a Configuration Response sent back to the attacker - but the disclosure is environment-dependent ('under some runtime conditions') rather than a guaranteed leak on every attempt.

Know when Bluetooth 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

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.4 MEDIUM

AV:A for radio-range BR/EDR peer, PR:N/UI:N as a single unauthenticated malformed packet triggers it; disclosure is limited and conditional (C:L) and the OOB read can also crash the stack (A:L).

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Oct 13, 2026 - 16:18 EUVD
CVE Published
Oct 13, 2026 - 15:12 cve.org
MEDIUM 6.5

DescriptionCVE.org

ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. Prior to 5.2.8, 5.3.6, 5.5.5, 6.0.3, and 6.1-rc1, ESP-IDF BlueDroid L2CAP configuration-option processing in l2c_main.c and l2c_utils.c does not consistently validate option lengths against the remaining received packet bytes. A remote unauthenticated BR/EDR peer within radio range can send a malformed L2CAP configuration request that causes an out-of-bounds read, and under some runtime conditions limited adjacent Bluetooth stack memory can be included in an outbound L2CAP Configuration Response. The issue affects ESP32-class products using the BlueDroid host stack with Classic Bluetooth enabled. This issue is fixed in 5.2.8, 5.3.6, 5.5.5, 6.0.3, and 6.1-rc1.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
High
ESP32 chips are very widely deployed across IoT, but only the BlueDroid-plus-Classic-BT subset is affected
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2025-65824 HIGH POC
8.8 Dec 10

Unauthenticated Bluetooth Low Energy OTA firmware upgrade in the Meatmeet Pro WiFi & Bluetooth Meat Thermometer firmware

CVE-2025-32879 HIGH POC
8.8 Jun 20

CVE-2025-32879 is a security vulnerability (CVSS 8.8) that allows an attacker. Risk factors: public PoC available.

CVE-2025-10457 HIGH POC
8.1 Sep 19

Zephyr's Bluetooth Low Energy connection-response handler fails to verify that a connection request was actually initiat

CVE-2025-20672 CRITICAL
9.8 Jun 02

Heap OOB write in Android Bluetooth driver via incorrect bounds check.

CVE-2026-55330 CRITICAL
9.8 Oct 06

A use-after-free in the Android Bluetooth stack (bluetooth_ccc.cc, function BluetoothCccHandlerCallbackImpl) lets an att

CVE-2020-10135 MEDIUM POC
5.4 May 19

Legacy pairing and secure-connections pairing authentication in Bluetooth BR/EDR Core Specification v5.2 and earlier may

CVE-2026-19570 HIGH
8.8 Oct 09

Memory corruption in the Zephyr RTOS LE Audio Broadcast Sink (subsys/bluetooth/audio/bap_broadcast_sink.c) lets an attac

CVE-2026-90255 HIGH
8.8 Sep 17

A memory leak combined with a use-after-free in the Linux kernel's Bluetooth HCI connection-setup path can crash the ker

CVE-2026-90256 HIGH
8.8 Sep 17

A race condition in the Linux kernel's Bluetooth L2CAP subsystem allows a use-after-free of the hci_conn::l2cap_data poi

CVE-2026-8374 HIGH
8.5 Oct 09

Bluetooth authentication bypass in SwitchBot Door Lock Series allows an attacker within BLE range to manipulate the lock

CVE-2026-89583 HIGH
8.1 Sep 11

Out-of-bounds read in the Linux kernel Bluetooth subsystem's eir_get_service_data() leaks kernel heap memory into usersp

CVE-2026-90092 HIGH
8.0 Sep 17

Use-after-free in the Linux kernel Bluetooth L2CAP stack lets a Bluetooth-adjacent attacker corrupt kernel memory by rac

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy