
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-25508 is an out-of-bounds read vulnerability in the BLE ATT Prepare Write handling of the BLE provisioning transport (protocomm_ble) in Espressif's ESP-IDF (IoT Development Framework). The flaw affects ESP-IDF versions 5.1.6, 5.2.6, 5.3.4, 5.4.3, and 5.5.2, and can be triggered by a remote BLE client while the target device is in provisioning mode. It was disclosed on February 4, 2026, with patches released shortly after. The vulnerability carries a CVSS v3.1 base score of 6.3 (Medium) (GitHub Advisory, Feedly).
The root cause (CWE-125: Out-of-bounds Read) lies in the prepare_write_event_env function within protocomm_ble.c and protocomm_nimble.c. The transport accumulated prepared-write fragments into a fixed-size buffer using prepare_write_env.prepare_len += param->write.len, which additively tracked length without accounting for overlapping offsets — allowing a remote BLE client to send repeated ATT Prepare Write requests with overlapping offsets, causing the tracked length to exceed the actual allocated buffer size. When an ATT Execute Write command was subsequently issued, this inflated length was passed directly to provisioning handlers (protocomm_req_handle), resulting in an out-of-bounds read and potential heap corruption. The fix corrects the length tracking to prepare_write_env.prepare_len = MAX(prepare_write_env.prepare_len, param->write.offset + param->write.len), ensuring the reported length never exceeds the buffer boundary (GitHub Advisory, Patch Commit).
A remote BLE client within radio range can exploit this vulnerability without authentication while the target ESP32/ESP-IDF device is in provisioning mode, potentially causing denial of service, heap corruption, or system instability. The confidentiality impact is none, while integrity impact is low and availability impact is high — an attacker could crash the device or corrupt memory during the provisioning process. The attack is constrained to the BLE provisioning window and requires user interaction (the device must be placed in provisioning mode), limiting the scope of affected assets to IoT devices actively undergoing Wi-Fi or network provisioning (GitHub Advisory, Feedly).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.021% (0.000210), indicating a very low probability of exploitation in the near term. The vulnerability was responsibly disclosed by Maxime Rossi Bellom and Ramtine Tofighi Shirazi from SecMate (GitHub Advisory).
nRF Connect, bluetoothctl, or hcitool lescan) — provisioning devices typically advertise with a recognizable service UUID associated with protocomm_ble.gatttool, gatt-python, or a custom script).protocomm_ble).prepare_len counter to be inflated beyond the allocated buffer size.ESP_GATT_PREP_WRITE_EXEC), causing the inflated prepare_len to be passed to protocomm_req_handle, triggering an out-of-bounds read and potential heap corruption or device crash (GitHub Advisory, Patch Commit).Guru Meditation Error, assert failed, or heap integrity check failures) during or immediately after provisioning mode activity.Espressif has released patched versions addressing this vulnerability: ESP-IDF 5.5.3, 5.4.4, 5.3.5, 5.2.7, and 5.1.7. Upgrading to one of these patched releases is the primary recommended remediation. As interim mitigations, operators should limit physical proximity to devices in provisioning mode, restrict provisioning mode activation to trusted and controlled environments, and avoid leaving devices in provisioning mode longer than necessary. Network segmentation to reduce BLE attack surface for IoT deployments is also advisable (GitHub Advisory, Patch Commit).
The vulnerability was credited to Maxime Rossi Bellom and Ramtine Tofighi Shirazi from SecMate, who followed responsible disclosure practices. Espressif published the advisory via GitHub Security Advisories and provided patches across all actively maintained ESP-IDF branches. No significant broader media coverage or notable community discussion has been identified beyond standard vulnerability database aggregation (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."