Skip to main content

CVE-2026-81507: CWE-125: Out-of-bounds Read in espressif esp-idf

0
Medium
VulnerabilityCVE-2026-81507cvecve-2026-81507cwe-125
Published: 10/13/2026 (10/13/2026, 15:12:01 UTC)
Source: CVE Database V5
Vendor/Project: espressif
Product: esp-idf

Description

An out-of-bounds read vulnerability exists in the Espressif ESP-IDF Bluetooth stack's L2CAP configuration-option processing. This flaw allows a remote unauthenticated Bluetooth BR/EDR peer to send a malformed L2CAP configuration request that triggers the vulnerability. Under certain runtime conditions, this may cause limited adjacent Bluetooth stack memory to be included in an outbound response. The issue affects ESP32-class products using the BlueDroid host stack with Classic Bluetooth enabled. Fixed versions include 5.2.8, 5.3.6, 5.5.5, 6.0.3, and 6.1-rc1.

CVSS v3.1

Score 6.5medium

Attack Vector
Adjacent Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

espressif

esp-idf

Affected versions
<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
GitHub Actionsmore threats →ai
espressif/esp-idf
pkg:github/espressif/esp-idf
Affected versions
<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

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/13/2026, 15:33:34 UTC

Technical Analysis

CVE-2026-81507 is an out-of-bounds read vulnerability (CWE-125) in the ESP-IDF BlueDroid L2CAP configuration-option processing code (l2c_main.c and l2c_utils.c). Prior to fixed versions, the code does not consistently validate option lengths against the remaining received packet bytes. A remote unauthenticated BR/EDR Bluetooth peer within radio range can send a malformed L2CAP configuration request that causes an out-of-bounds read. This may result in limited adjacent Bluetooth stack memory being included in an outbound L2CAP Configuration Response. The vulnerability affects ESP32-class products using the BlueDroid host stack with Classic Bluetooth enabled. The issue is fixed in ESP-IDF versions 5.2.8, 5.3.6, 5.5.5, 6.0.3, and 6.1-rc1.

Potential Impact

A remote unauthenticated attacker within Bluetooth radio range can trigger an out-of-bounds read by sending a malformed L2CAP configuration request. This may lead to disclosure of limited adjacent memory from the Bluetooth stack in an outbound response. The CVSS 3.1 base score is 6.5 (medium severity) with high confidentiality impact but no integrity or availability impact.

Mitigation Recommendations

This vulnerability is fixed in ESP-IDF versions 5.2.8, 5.3.6, 5.5.5, 6.0.3, and 6.1-rc1. Users should upgrade to one of these versions or later to remediate the issue. No additional mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-26T20:58:58.083Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ace4bf42cdf04f6567ca2ac

Added to database: 10/13/2026, 15:19:16 UTC

Last enriched: 10/13/2026, 15:33:34 UTC

Last updated: 10/13/2026, 15:34:05 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses