{"id":"CVE-2026-25507","aliases":["CVE-2026-25507"],"related":[],"kind":"vulnerability","state":"published","title":"ESF-IDF Has Use-after-free Vulnerability in BLE Provisioning","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"ESF-IDF es el Framework de Desarrollo de Internet de las Cosas (IoT) de Espressif. En las versiones 5.5.2, 5.4.3, 5.3.4, 5.2.6 y 5.1.6, se informó una vulnerabilidad de uso después de liberación en la capa de transporte de aprovisionamiento BLE (protocomm_ble). El problema puede ser activado por un cliente BLE remoto mientras el dispositivo está en modo de aprovisionamiento. La vulnerabilidad ocurrió cuando el aprovisionamiento se detuvo con keep_ble_on = true. En esta configuración, el estado interno de protocomm_ble y los metadatos GATT fueron liberados mientras la pila BLE y los servicios GATT permanecieron activos. Las devoluciones de llamada de lectura o escritura BLE posteriores desreferenciaron memoria liberada, permitiendo a un cliente conectado o recién conectado activar un acceso a memoria inválido. Este problema ha sido parcheado en las versiones 5.5.3, 5.4.4, 5.3.5, 5.2.7 y 5.1.7.","source":"nvd"}],"published":"2026-02-04T17:58:18.605Z","modified":"2026-06-17T10:24:45.550Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":6.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":"= 5.5.2","status":"affected"},{"version":"= 5.4.3","status":"affected"},{"version":"= 5.3.4","status":"affected"},{"version":"= 5.2.6","status":"affected"},{"version":"= 5.1.6","status":"affected"}],"vendor":"espressif","product":"esp-idf","source":"cvelist"},{"ranges":[{"status":"affected","version":"5.1.6"},{"status":"affected","version":"5.2.6"},{"status":"affected","version":"5.3.4"},{"status":"affected","version":"5.4.3"},{"status":"affected","version":"5.5.2"}],"vendor":"espressif","product":"esp-idf","cpe":"cpe:2.3:a:espressif:esp-idf:5.1.6:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/espressif/esp-idf/security/advisories/GHSA-h7r3-gmg9-xjmg","tags":["third-party-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/espressif/esp-idf/commit/0540c85140c2c06c0cbecc8843277ea676d5c4a9","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/espressif/esp-idf/commit/1ff264abf2504cade46f0ce3a03f821310bcf6d7","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/espressif/esp-idf/commit/47552ff4fd824caf38215468ebd2f31fb5f36d70","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/espressif/esp-idf/commit/4c3fdcd316f780bab4ae5aa73c9626ea9fe24ac6","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/espressif/esp-idf/commit/894c28afe3f2f8f31ff25b64191883517dddb5cf","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/espressif/esp-idf/commit/cde7b7362adc15638c141c249681cbe5d23de663","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/espressif/esp-idf/commit/dba9a7dc01e4dab14c77d328f6a6f46369aeee63","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-04T19:22:43.554Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-25507","url":"https://www.cve.org/CVERecord?id=CVE-2026-25507","licence":"CVE Terms of Use","modified":"2026-02-04T19:24:17.464Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-25507","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25507","licence":"Public domain","modified":"2026-06-17T10:24:45.550Z"}],"updatedAt":"2026-11-25T22:59:13.491Z","epss":{"score":0.00231,"percentile":0.14952,"date":"2026-12-01T12:00:22.000Z"}}