ESF-IDF: Bluetooth Classic L2CAP Heap Memory Disclosure Allowing Unauthorized Access to Sensitive Data
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.
CVE-2026-81507
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-81507
esp-idf
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "espressif",
"product": "esp-idf",
"versions": [
{
"status": "affected",
"version": "< 5.2.8"
},
{
"status": "affected",
"version": ">= 5.3-beta1, < 5.3.6"
},
{
"status": "affected",
"version": ">= 5.4-beta1, < 5.5.5"
},
{
"status": "affected",
"version": ">= 6.0-beta1, < 6.0.3"
},
{
"status": "affected",
"version": ">= 6.1-beta1, < 6.1-rc1"
}
]
}
]- Related CVEs
- CVE-2026-81507
Source reference:
/cveMetadata/cveId
Publisher severity
medium
Source reference: /containers/cna/metrics
- Event
- #22053 · Revision 1
- Added to Heist Feed
- Publisher date