CVE-2026-25507 Details
Description
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.5.2, 5.4.3, 5.3.4, 5.2.6, and 5.1.6, a use-after-free vulnerability was reported in the BLE provisioning transport (protocomm_ble) layer. The issue can be triggered by a remote BLE client while the device is in provisioning mode. The vulnerability occurred when provisioning was stopped with keep_ble_on = true. In this configuration, internal protocomm_ble state and GATT metadata were freed while the BLE stack and GATT services remained active. Subsequent BLE read or write callbacks dereferenced freed memory, allowing a connected or newly connected client to trigger invalid memory acces. This issue has been patched in versions 5.5.3, 5.4.4, 5.3.5, 5.2.7, and 5.1.7.
A use-after-free vulnerability has been identified in the Bluetooth Low Energy (BLE) provisioning transport layer of the Espressif Internet of Things Development Framework (ESP-IDF). This vulnerability is present in versions 5.5.2, 5.4.3, 5.3.4, 5.2.6, and 5.1.6. The issue arises when a remote BLE client interacts with the device while it is in provisioning mode, and the 'keep_ble_on' flag is set to true. In this scenario, the internal state and GATT metadata of the BLE provisioning transport are freed, but the BLE stack and GATT services remain active. This leads to a situation where subsequent BLE read or write operations can access invalid memory, potentially causing heap corruption or allowing control flow hijacking in more advanced exploitation cases.
Users can upgrade to ESP-IDF versions 5.5.3, 5.4.4, 5.3.5, 5.2.7, or 5.1.7, where this vulnerability has been patched. If an upgrade is not possible, the 'keep_ble_on' option can be disabled to prevent the vulnerability, although this will stop BLE services during provisioning.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| espressif esp-idf | 5.1.6 5.2.6 5.3.4 5.4.3 5.5.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 20, 2026 | Initial Analysis | [email protected] |
| Feb 4, 2026 | New CVE Received | [email protected] |