Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-81507

MEDIUM 6.5EPSS 27%

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

Mitigation

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

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

Vulnerability facts

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
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
6.5 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 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
EPSS
0.41% chance of exploitation in 30 days (percentile 27, 2026-11-26)
CWE
CWE-125
Published
Modified

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

Package / productAffectedFixedSource
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

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors