Skip to main content

ESP-IDF CVE-2026-113781

| EUVDEUVD-2026-127194 HIGH
Signed to Unsigned Conversion Error (CWE-195)
2026-11-17 security-advisories@github.com
7.1
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Approach within Bluetooth LE range
  2. Delivery
    Connect to exposed PB-GATT or Mesh Proxy service
  3. Exploit
    Send crafted ATT read request triggering failed attribute read
  4. Install
    Negative length misread as large unsigned size
  5. C2
    Oversized memcpy overflows small stack buffer
  6. Execute
    Corrupt Bluetooth host task stack
  7. Impact
    Device crash and restart

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Signed/unsigned conversion safety
Exploitation Conditions

Exploitable only on devices built with the Bluedroid host (CONFIG_BT_BLUEDROID_ENABLED=y) and BLE Mesh enabled, with a BLE Mesh GATT bearer - PB-GATT provisioning or GATT Proxy - enabled and actively advertising so a remote client can connect and issue attribute reads; the NimBLE host path does not service these reads and is NOT affected. The attacker must be within Bluetooth LE (adjacent) range and able to connect to that GATT service. Pairing/user interaction is required ONLY if the device configuration protects those attributes with link-layer pairing/encryption; where the affected attributes are accessible without pairing (per the advisory, these attributes typically do not require pairing), no pairing or user interaction is needed. Limiting factors: adjacency-only reach, dependence on BLE Mesh GATT bearers being enabled and advertising, exclusion of NimBLE builds, and configuration-dependent pairing requirements.

Impact

The provided CVSS 3.1 vector (AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H, base 7.1) frames this as an adjacency-limited denial-of-service with minor integrity impact, which aligns well with the described mechanism: a signed-to-unsigned conversion (CWE-195) that turns a negative ATT error code into a huge length for a stack memcpy, corrupting the Bluetooth host task stack and restarting the device (A:H), with secondary OOB read and potential further memory corruption justifying I:L. The vuln.today decision label is this_week rather than act_now/emergency, and there is no KEV listing and no EPSS value in the input, so exploitation status is: no public exploit identified at time of analysis - the only linked GitHub URLs are vendor fix commits and the GHSA advisory, not proof-of-concept code. The most important nuance is the PR:N assumption: the description and advisory both state access 'requires neither pairing nor user interaction' ONLY 'on devices where the affected attributes are accessible without pairing,' and otherwise 'access requirements depend on device configuration' - so PR:N holds for default-open PB-GATT/Proxy deployments but may effectively require pairing on hardened configurations; verify per device. Net: this is a credible, patch-now-this-week issue for fleets running Bluedroid BLE Mesh GATT, but realistic impact is primarily reliable remote crash/reboot from Bluetooth range, not confirmed code execution or data theft, and there is no evidence of active or public exploitation.

Exploit ScenarioDerived

An attacker within Bluetooth LE range of an ESP32 device that exposes a PB-GATT provisioning or Mesh Proxy service connects and sends a crafted ATT read request designed to make the attribute read callback fail. The failure returns a negative length that is misread as a very large unsigned size, overrunning a small stack buffer and corrupting the Bluetooth host task stack, crashing and restarting the device. No public exploit is identified at time of analysis; the attack is low-complexity (AC:L) but limited to adjacent Bluetooth range (AV:A), and on default-open configurations needs no pairing or user interaction.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

A signed-to-unsigned conversion error (CWE-195) in the Bluedroid BLE Mesh GATT server read handler of Espressif's ESP-IDF lets a nearby Bluetooth LE attacker crash and restart affected devices, and possibly achieve further memory corruption. Devices built with CONFIG_BT_BLUEDROID_ENABLED=y and BLE Mesh enabled, with PB-GATT provisioning or GATT Proxy advertising, are reachable by an adjacent unauthenticated attacker who connects and issues a crafted attribute read; the NimBLE host path is not affected. ESP-IDF v6.0 through v6.0.2, v5.5 through v5.5.5, v5.4 through v5.4.4, v5.3 through v5.3.5, and v5.2 through v5.2.7 are affected, and the issue is fixed in 6.0.3, 5.5.6, 5.3.6, and 5.2.8; no public exploit code has been reported and the CVSS 3.1 vector scores 7.1 (AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H).

RemediationAI

Vendor-released patch: upgrade to ESP-IDF v5.2.8, v5.3.6, v5.5.6, or v6.0.3 per the GHSA advisory (https://github.com/espressif/esp-idf/security/advisories/GHSA-rjvf-fxv5-x87j) and the matching release tags; the v5.4 branch fix is listed as landing in v5.4.5, which has not been released, so v5.4.4 users must move to a fixed branch in the interim. The vendor states there are no workarounds and that updating is the only complete fix, noting as an interim mitigation that the BLE Mesh GATT bearers (PB-GATT and GATT Proxy) can be disabled when not required, or the firmware can be built with the NimBLE host, which is not affected. Note that disabling the GATT bearers removes over-the-air provisioning via PB-GATT and GATT proxy connectivity, and migrating hosts changes the Bluetooth stack integration and its memory footprint.

Affected VersionsENISA

esp-idf ≤ 5.1.7
esp-idf 5.2.0, < 5.2.8
esp-idf 6.0.0, < 6.0.3
esp-idf 5.5.0, < 5.5.6
esp-idf 5.4.0, ≤ 5.4.4
esp-idf 5.3.0, < 5.3.6

Affected Packages

euvd esp_idf fix: 5.2.8, 5.3.6, 5.5.6, 6.0.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ESP-IDF is Espressif's IoT development framework for ESP32-class SoCs, and it ships two Bluetooth host stacks: Bluedroid and NimBLE. This flaw lives in the Bluedroid adapter layer of esp_ble_mesh, in bt_mesh_bta_gatts_cb, where GATT attribute read callbacks return a signed length and negative values encode ATT error codes. The handler stored that result in an unsigned 16-bit variable (changed to ssize_t by the fix commits), so a failed read was misread as a very large successful read length and used as the size of a memcpy from a small stack buffer into the GATT response structure, producing an out-of-bounds read and a stack-based buffer overflow (tracked alongside CWE-787) in the Bluetooth host task. The root cause class is signed-to-unsigned conversion (CWE-195); the advisory notes the trigger is a crafted attribute read request that causes the read callback to fail. A follow-up hardening change returns a proper ATT Error Response and clamps the read length to the source buffer size. Only the Bluedroid path services GATT reads this way; the NimBLE host is out of scope, and the vulnerable code has existed since BLE Mesh support was introduced, including end-of-life v5.1 and earlier, which will not be fixed.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.1 HIGH
AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
vuln.today AI 7.1 HIGH

Bluetooth-range adjacency (AV:A), low-complexity crafted read (AC:L), PR:N for default-open bearers; primary impact is host-task crash/restart (A:H) with no confidentiality loss (C:N) and limited integrity from memory corruption (I:L).

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

Lifecycle Timeline

2
Patch available
Nov 17, 2026 - 20:18 EUVD
CVE Published
Nov 17, 2026 - 19:17 cve.org
HIGH 7.1

DescriptionCVE.org

ESP-IDF is the Espressif Internet of Things (IoT) Development Framework. Prior to 5.2.8, 5.3.6, 5.5.6, and 6.0.3, the Bluedroid BLE Mesh GATT server read handler bt_mesh_bta_gatts_cb in esp_ble_mesh stores a signed attribute-read callback length in an unsigned 16-bit variable. A negative ATT error code is therefore interpreted as a very large successful length and used for a memory copy from a small stack buffer into the GATT response structure. A remote attacker within Bluetooth LE range who can connect to an exposed PB-GATT provisioning or Mesh Proxy service can trigger a failed attribute read with a crafted request. On devices where the affected attributes are accessible without pairing, exploitation requires neither pairing nor user interaction; access requirements depend on device configuration. The resulting out-of-bounds read and stack-based buffer overflow corrupts the Bluetooth host task stack, causing a crash and device restart and potentially further memory corruption. The issue affects devices built with CONFIG_BT_BLUEDROID_ENABLED=y and BLE Mesh GATT enabled; the NimBLE host path is not affected. This issue is fixed in versions 5.2.8, 5.3.6, 5.5.6, and 6.0.3.

Technical POC Analysis

The bug class is CWE-195 (signed-to-unsigned conversion error), with the resulting memory corruption classified additionally as CWE-787 (out-of-bounds write).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity vulnerability in Espressif's ESP-IDF Bluetooth LE Mesh stack (CVE-2026-113781) affects IoT devices using the Bluedroid host, allowing an adjacent unauthenticated attacker to crash and restart devices, with potential for deeper memory corruption. This puts operational continuity at risk for any products or infrastructure relying on affected ESP32-based hardware, particularly in smart building, industrial, and consumer deployments where BLE Mesh is used for provisioning or control.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 47% exploitable
Prevalence
High
ESP-IDF/ESP32 is a very widely deployed IoT framework; BLE Mesh GATT subset narrower
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy