{"id":"CVE-2026-81507","state":"PUBLISHED","title":"ESF-IDF: Bluetooth Classic L2CAP Heap Memory Disclosure Allowing Unauthorized Access to Sensitive Data","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.","publishedAt":"2026-10-13T15:12:01.010Z","updatedAt":"2026-10-14T15:00:34.785Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["espressif esp-idf"],"affected":[{"vendor":"espressif","product":"esp-idf","versions":[{"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","status":"affected"}]}],"references":["https://github.com/espressif/esp-idf/security/advisories/GHSA-v335-fxwc-rc44","https://github.com/espressif/esp-idf/commit/14c99559b4337cabcf0f09c21d16b93c4cd7a6fe","https://github.com/espressif/esp-idf/commit/1e07f6d83ca892630a7210df2958455f7ca77b4a","https://github.com/espressif/esp-idf/commit/5731c63ece128f156939b9f734256e2227c1442a","https://github.com/espressif/esp-idf/commit/8de265dc44b1b22c749ea44ee7c609b3da4162f0","https://github.com/espressif/esp-idf/commit/9a6d04f65e0e341e7d72bd417c9f31b8a04ce846","https://github.com/espressif/esp-idf/commit/c2610255a5adce651ca582bb82368c3dd0ee2834","https://github.com/espressif/esp-idf/commit/c8cd8f4f3019ae2f912c8cbe9974445e8d9b8749","https://github.com/espressif/esp-idf/releases/tag/v5.2.8","https://github.com/espressif/esp-idf/releases/tag/v5.3.6","https://github.com/espressif/esp-idf/releases/tag/v5.5.5","https://github.com/espressif/esp-idf/releases/tag/v6.0.3","https://github.com/espressif/esp-idf/releases/tag/v6.1-rc1"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/81xxx/CVE-2026-81507.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-81507","state":"PUBLISHED","datePublished":"2026-10-13T15:12:01.010Z","dateUpdated":"2026-10-14T15:00:34.785Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-26T20:58:58.083Z"},"containers":{"cna":{"title":"ESF-IDF: Bluetooth Classic L2CAP Heap Memory Disclosure Allowing Unauthorized Access to Sensitive Data","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"espressif","product":"esp-idf","versions":[{"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","status":"affected"}]}],"references":[{"url":"https://github.com/espressif/esp-idf/security/advisories/GHSA-v335-fxwc-rc44","name":"https://github.com/espressif/esp-idf/security/advisories/GHSA-v335-fxwc-rc44","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/espressif/esp-idf/commit/14c99559b4337cabcf0f09c21d16b93c4cd7a6fe","name":"https://github.com/espressif/esp-idf/commit/14c99559b4337cabcf0f09c21d16b93c4cd7a6fe","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/1e07f6d83ca892630a7210df2958455f7ca77b4a","name":"https://github.com/espressif/esp-idf/commit/1e07f6d83ca892630a7210df2958455f7ca77b4a","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/5731c63ece128f156939b9f734256e2227c1442a","name":"https://github.com/espressif/esp-idf/commit/5731c63ece128f156939b9f734256e2227c1442a","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/8de265dc44b1b22c749ea44ee7c609b3da4162f0","name":"https://github.com/espressif/esp-idf/commit/8de265dc44b1b22c749ea44ee7c609b3da4162f0","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/9a6d04f65e0e341e7d72bd417c9f31b8a04ce846","name":"https://github.com/espressif/esp-idf/commit/9a6d04f65e0e341e7d72bd417c9f31b8a04ce846","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/c2610255a5adce651ca582bb82368c3dd0ee2834","name":"https://github.com/espressif/esp-idf/commit/c2610255a5adce651ca582bb82368c3dd0ee2834","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/c8cd8f4f3019ae2f912c8cbe9974445e8d9b8749","name":"https://github.com/espressif/esp-idf/commit/c8cd8f4f3019ae2f912c8cbe9974445e8d9b8749","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/releases/tag/v5.2.8","name":"https://github.com/espressif/esp-idf/releases/tag/v5.2.8","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/releases/tag/v5.3.6","name":"https://github.com/espressif/esp-idf/releases/tag/v5.3.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/releases/tag/v5.5.5","name":"https://github.com/espressif/esp-idf/releases/tag/v5.5.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/releases/tag/v6.0.3","name":"https://github.com/espressif/esp-idf/releases/tag/v6.0.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/releases/tag/v6.1-rc1","name":"https://github.com/espressif/esp-idf/releases/tag/v6.1-rc1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"ADJACENT_NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-13T15:12:01.010Z"},"source":{"advisory":"GHSA-v335-fxwc-rc44","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-14T15:00:21.832346Z","id":"CVE-2026-81507","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-14T15:00:34.785Z"}}]}}}