{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-25507","id":"CVE-2026-25507","title":"ESF-IDF Has Use-after-free Vulnerability in BLE Provisioning","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. I","descriptionLong":"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.","published":"2026-02-04T17:58:18.605Z","updated":"2026-11-11T13:21:03.828400674Z","reserved":"2026-02-02T18:21:42.486Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["espressif esp-idf"],"affectedProducts":[{"vendor":"espressif","product":"esp-idf","defaultStatus":null,"versions":[{"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"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":["GHSA-h7r3-gmg9-xjmg"],"references":[{"url":"https://github.com/espressif/esp-idf/security/advisories/GHSA-h7r3-gmg9-xjmg","tags":["x_refsource_CONFIRM","Third Party Advisory","advisory"]},{"url":"https://github.com/espressif/esp-idf/commit/0540c85140c2c06c0cbecc8843277ea676d5c4a9","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/espressif/esp-idf/commit/1ff264abf2504cade46f0ce3a03f821310bcf6d7","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/espressif/esp-idf/commit/47552ff4fd824caf38215468ebd2f31fb5f36d70","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/espressif/esp-idf/commit/4c3fdcd316f780bab4ae5aa73c9626ea9fe24ac6","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/espressif/esp-idf/commit/894c28afe3f2f8f31ff25b64191883517dddb5cf","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/espressif/esp-idf/commit/cde7b7362adc15638c141c249681cbe5d23de663","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/espressif/esp-idf/commit/dba9a7dc01e4dab14c77d328f6a6f46369aeee63","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25507.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25507","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00231,"epssPercentile":0.14098,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-25507","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25507","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-25507","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-25507","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}