CVE-2026-81507 PUBLISHED

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

Assigner: GitHub_M
Reserved: 26.08.2026 Published: 13.10.2026 Updated: 13.10.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS Score: 6.5

Product Status

Vendor espressif
Product esp-idf
Versions
  • Version < 5.2.8 is affected
  • Version >= 5.3-beta1, < 5.3.6 is affected
  • Version >= 5.4-beta1, < 5.5.5 is affected
  • Version >= 6.0-beta1, < 6.0.3 is affected
  • Version >= 6.1-beta1, < 6.1-rc1 is affected

References

Problem Types

  • CWE-125: Out-of-bounds Read CWE