CVE-2026-81507

ESF-IDF: Bluetooth Classic L2CAP Heap Memory Disclosure Allowing Unauthorized Access to Sensitive Data

Published Oct 13, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Espressif
Espressif esp-idf
Vendors & Products Espressif
Espressif esp-idf
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 14, 2026, 3:00 PM
Reserved
Aug 26, 2026, 8:58 PM
Status
Awaiting Analysis
Published
Oct 13, 2026, 4:17 PM
Modified
Oct 16, 2026, 4:00 PM