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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.41% (percentile 27, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-10-13T15:12:01.010Z
- **Modified:** 2026-10-16T16:00:33.533Z

## Who should check

- Anyone running espressif esp-idf \< 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

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

## Affected and fixed versions

- espressif esp-idf: \< 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 (cvelist)

## Mitigation

- Upgrade esp-idf to 6.1-rc1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-81507. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-81507.md
Affected: espressif esp-idf < 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
Fixed in: espressif esp-idf 5.2.8, espressif esp-idf 5.3.6, espressif esp-idf 5.5.5, espressif esp-idf 6.0.3, espressif esp-idf 6.1-rc1

Steps:
1. Search this machine and project for espressif esp-idf: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-81507 being exploited?

There is no confirmed exploitation: CVE-2026-81507 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.41% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-81507?

Medium: CVSS 6.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-81507?

espressif esp-idf \< 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.

### Is there a fix for CVE-2026-81507?

Yes. Fixed in espressif esp-idf 5.2.8, espressif esp-idf 5.3.6, espressif esp-idf 5.5.5, espressif esp-idf 6.0.3, espressif esp-idf 6.1-rc1. Upgrade esp-idf to 6.1-rc1 or later.

### How do I check if I'm affected by CVE-2026-81507?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/espressif/esp-idf/security/advisories/GHSA-v335-fxwc-rc44>
- patch: <https://github.com/espressif/esp-idf/commit/14c99559b4337cabcf0f09c21d16b93c4cd7a6fe>
- patch: <https://github.com/espressif/esp-idf/commit/1e07f6d83ca892630a7210df2958455f7ca77b4a>
- patch: <https://github.com/espressif/esp-idf/commit/5731c63ece128f156939b9f734256e2227c1442a>
- patch: <https://github.com/espressif/esp-idf/commit/8de265dc44b1b22c749ea44ee7c609b3da4162f0>
- patch: <https://github.com/espressif/esp-idf/commit/9a6d04f65e0e341e7d72bd417c9f31b8a04ce846>
- patch: <https://github.com/espressif/esp-idf/commit/c2610255a5adce651ca582bb82368c3dd0ee2834>
- patch: <https://github.com/espressif/esp-idf/commit/c8cd8f4f3019ae2f912c8cbe9974445e8d9b8749>
- other: <https://github.com/espressif/esp-idf/releases/tag/v5.2.8>
- other: <https://github.com/espressif/esp-idf/releases/tag/v5.3.6>
- other: <https://github.com/espressif/esp-idf/releases/tag/v5.5.5>
- other: <https://github.com/espressif/esp-idf/releases/tag/v6.0.3>
- other: <https://github.com/espressif/esp-idf/releases/tag/v6.1-rc1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-81507>

HTML: <https://flawdb.com/CVE-2026-81507> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-81507>
