ESF-IDF: Bluetooth Classic L2CAP Heap Memory Disclosure Allowing Unauthorized Access to Sensitive Data
CVE-2026-81507Published 13 Oct 2026, 15:12 UTC
Real-world risk
2.7/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| esp-idfNiche | < 5.2.8; >= 5.3-beta1, < 5.3.6; >= 5.4-beta1, < 5.5.5; >= 6.0-beta1, < 6.0.3; >= 6.1-beta1, < 6.1-rc1 | 5.2.8, 5.3.6, 5.5.5, 6.0.3, 6.1-rc1 |
What to do
Update to a fixed version: 5.2.8, 5.3.6, 5.5.5, 6.0.3, 6.1-rc1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | AdjacentSame Wi-Fi, Bluetooth range or network segment | From the CVSS vector | 0.40 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 20), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.400
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.4 × threat 0.852.720
- Rounded to one decimal between 0.1 and 102.7
Exploitation and evidence timeline
- 13 Oct 2026 Published
- 3 Dec 2026 Risk 2.7 (cvss fallback)
Weakness
CWE-125
References
- https://github.com/espressif/esp-idf/security/advisories/GHSA-v335-fxwc-rc44vendor-advisory
- https://github.com/espressif/esp-idf/commit/14c99559b4337cabcf0f09c21d16b93c4cd7a6femisc
- https://github.com/espressif/esp-idf/commit/1e07f6d83ca892630a7210df2958455f7ca77b4amisc
- https://github.com/espressif/esp-idf/commit/5731c63ece128f156939b9f734256e2227c1442amisc
- https://github.com/espressif/esp-idf/commit/8de265dc44b1b22c749ea44ee7c609b3da4162f0misc
- https://github.com/espressif/esp-idf/commit/9a6d04f65e0e341e7d72bd417c9f31b8a04ce846misc
- https://github.com/espressif/esp-idf/commit/c2610255a5adce651ca582bb82368c3dd0ee2834misc
- https://github.com/espressif/esp-idf/commit/c8cd8f4f3019ae2f912c8cbe9974445e8d9b8749misc
- https://github.com/espressif/esp-idf/releases/tag/v5.2.8misc
- https://github.com/espressif/esp-idf/releases/tag/v5.3.6misc
- https://github.com/espressif/esp-idf/releases/tag/v5.5.5misc
- https://github.com/espressif/esp-idf/releases/tag/v6.0.3misc
- https://github.com/espressif/esp-idf/releases/tag/v6.1-rc1misc
- CVE-2026-81507 on CVE.org