Description
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.
Published: 2026-10-13
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: Information Disclosure
Action: Apply Patch
AI Analysis

Impact

This vulnerability arises when the ESP-IDF BlueDroid L2CAP configuration‑option processors do not validate option lengths against the remaining bytes in the received packet. The result is an out‑of‑bounds read that can leak adjacent stack memory, allowing an attacker to access sensitive data that should remain protected. The weakness is an improper memory‑handling error, classified as CWE‑125.

Affected Systems

Affected devices are ESP32‑class products that use the BlueDroid host stack and have Classic Bluetooth enabled. Firmware versions before 5.2.8, 5.3.6, 5.5.5, 6.0.3, and 6.1‑rc1 contain the flaw. The specific code modules impacted are l2c_main.c and l2c_utils.c in the Espressif Internet of Things Development Framework.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity. EPSS is not available, and the vulnerability is not yet listed in the CISA KEV list. Because the flaw can be triggered by an unauthenticated device within radio range, the potential for exploitation exists, but no widespread attacks have been reported. The advisory recommends upgrading to the fixed releases, after which the issue is resolved.

Generated by OpenCVE AI on October 13, 2026 at 17:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update ESP-IDF to any of the fixed releases—5.2.8, 5.3.6, 5.5.5, 6.0.3, or 6.1‑rc1.
  • Disable Classic Bluetooth if it is not required for the device’s functionality.
  • Remove or block unauthorized BR/EDR peers by disabling discoverability or implementing a trusted‑device whitelist.

Generated by OpenCVE AI on October 13, 2026 at 17:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Espressif
Espressif esp-idf
Vendors & Products Espressif
Espressif esp-idf

Tue, 13 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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.
Title ESF-IDF: Bluetooth Classic L2CAP Heap Memory Disclosure Allowing Unauthorized Access to Sensitive Data
Weaknesses CWE-125
References
Metrics cvssV3_1

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


Subscriptions

Espressif Esp-idf
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-13T15:12:01.010Z

Reserved: 2026-08-26T20:58:58.083Z

Link: CVE-2026-81507

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-13T16:17:23.447

Modified: 2026-10-13T16:17:23.447

Link: CVE-2026-81507

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T17:30:14Z

Weaknesses