CVE-2026-25507

Source
https://cve.org/CVERecord?id=CVE-2026-25507
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25507.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-25507
Aliases
  • GHSA-h7r3-gmg9-xjmg
Published
2026-02-04T17:58:18.605Z
Modified
2026-07-08T08:12:44.614771493Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H CVSS Calculator
Summary
ESF-IDF Has Use-after-free Vulnerability in BLE Provisioning
Details

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 (protocommble) 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 keepbleon = true. In this configuration, internal protocommble 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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25507.json"
}
References

Affected packages

Git / github.com/espressif/esp-idf

Affected ranges

Type
GIT
Repo
https://github.com/espressif/esp-idf
Events
Database specific
{
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "5.1.6"
        },
        {
            "last_affected": "5.1.6"
        },
        {
            "introduced": "5.2.6"
        },
        {
            "last_affected": "5.2.6"
        },
        {
            "introduced": "5.3.4"
        },
        {
            "last_affected": "5.3.4"
        },
        {
            "introduced": "5.4.3"
        },
        {
            "last_affected": "5.4.3"
        },
        {
            "introduced": "5.5.2"
        },
        {
            "last_affected": "5.5.2"
        }
    ],
    "cpe": [
        "cpe:2.3:a:espressif:esp-idf:5.1.6:*:*:*:*:*:*:*",
        "cpe:2.3:a:espressif:esp-idf:5.2.6:*:*:*:*:*:*:*",
        "cpe:2.3:a:espressif:esp-idf:5.3.4:*:*:*:*:*:*:*",
        "cpe:2.3:a:espressif:esp-idf:5.4.3:*:*:*:*:*:*:*",
        "cpe:2.3:a:espressif:esp-idf:5.5.2:*:*:*:*:*:*:*"
    ]
}

Affected versions

5.*
5.1.6
5.2.6
5.3.4
5.4.3
5.5.2
= 5.*
= 5.1.6
= 5.2.6
= 5.3.4
= 5.4.3
= 5.5.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25507.json"