CVE-2026-81507Espressif Esp-idf out-of-bounds read
CVSS score
6.5
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.26%
0.26% chance of exploitation in the next 30 days, higher than 18.5% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running espressif Esp-idf and compare its version with the affected versions.
Update to a fixed version
- Update Esp-idf to 5.2.8, 5.3.6, 5.5.5, 6.0.3 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Adjacent
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
| Affected products | 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 |
Weakness
- CWE-125 out-of-bounds read
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-81507 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-81507?
CVE-2026-81507 has a CVSS 3.1 base score of 6.5 (medium).
Which versions are 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)
Is there a patch for CVE-2026-81507?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/espressif/esp-idf/commit/14c99559b4337cabcf0f09c21d16b93c4cd7a6fe
- github.com/espressif/esp-idf/commit/1e07f6d83ca892630a7210df2958455f7ca77b4a
- github.com/espressif/esp-idf/commit/5731c63ece128f156939b9f734256e2227c1442a
- github.com/espressif/esp-idf/commit/8de265dc44b1b22c749ea44ee7c609b3da4162f0
- github.com/espressif/esp-idf/commit/9a6d04f65e0e341e7d72bd417c9f31b8a04ce846
- github.com/espressif/esp-idf/commit/c2610255a5adce651ca582bb82368c3dd0ee2834
- github.com/espressif/esp-idf/commit/c8cd8f4f3019ae2f912c8cbe9974445e8d9b8749
- github.com/espressif/esp-idf/releases/tag/v5.2.8
- github.com/espressif/esp-idf/releases/tag/v5.3.6
- github.com/espressif/esp-idf/releases/tag/v5.5.5
- github.com/espressif/esp-idf/releases/tag/v6.0.3
- github.com/espressif/esp-idf/releases/tag/v6.1-rc1
- github.com/espressif/esp-idf/security/advisories/GHSA-v335-fxwc-rc44
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.