
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-25507 is a use-after-free (UAF) vulnerability in the BLE provisioning transport layer (protocomm_ble) of 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 is a use-after-free condition (CWE-416) in protocomm_ble.c and protocomm_nimble.c. When provisioning is stopped with the keep_ble_on = true configuration flag, the internal protocomm_ble state and GATT metadata are freed, but the BLE stack and GATT services remain active. Subsequent BLE GATT read, write, or execute-write callbacks then dereference the freed memory via the dangling protoble_internal pointer, allowing an adjacent-network attacker to trigger invalid memory access. The fix introduced a protocomm_ble_transport_active() guard function that checks whether protoble_internal and pc_ble are non-NULL before processing any GATT callbacks, and also nullifies protoble_internal->pc_ble before freeing state during protocomm_ble_stop() (GitHub Advisory, Patch Commit).
A remote BLE client within radio range can exploit this vulnerability without authentication while the target ESP32-based device is in provisioning mode, potentially causing a denial of service (device crash/reset) through heap corruption. In more advanced exploitation scenarios, the use-after-free could enable control flow hijacking, though no confidentiality impact is expected. The integrity impact is rated low, while availability impact is rated high, reflecting the primary risk of device disruption in IoT deployments (GitHub Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported for CVE-2026-25507. The vulnerability requires the attacker to be within BLE radio range (~10–100 meters) and the device to be actively in provisioning mode, limiting the attack window. The EPSS score is approximately 0.021% (very low probability of exploitation in the near term), and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The vulnerability was responsibly disclosed by Maxime Rossi Bellom and Ramtine Tofighi Shirazi from SecMate (GitHub Advisory, Feedly).
nRF Connect, btlejuice, or gatttool. Devices in provisioning mode typically advertise a recognizable service UUID associated with Espressif's protocomm provisioning service.keep_ble_on = true. In this state, the internal protocomm state is freed but GATT services remain active.protoble_internal pointer, causing invalid memory access."Protocomm layer has already stopped" followed by crash/panic output; log entries indicating "Send response error in read" or unexpected GATT callback invocations after provisioning teardown.keep_ble_on is enabled; watchdog timer resets triggered by heap corruption.Espressif has released patched versions of 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 recommended remediation. If upgrading is not immediately feasible, the workaround is to disable the keep_ble_on flag so that BLE services are fully stopped during provisioning teardown, and to avoid exposing provisioning GATT characteristics after Wi-Fi credentials have been applied. Restricting physical BLE access during provisioning (e.g., limiting provisioning mode duration) also reduces exposure (GitHub Advisory).
The vulnerability was responsibly disclosed by security researchers Maxime Rossi Bellom and Ramtine Tofighi Shirazi from SecMate, who followed coordinated disclosure procedures with Espressif. The GitHub Security Advisory was published by Espressif maintainer mahavirj on February 3, 2026. No significant broader media coverage or notable community debate has been identified beyond standard vulnerability tracking aggregators (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."