CVE-2026-113781

Source
https://cve.org/CVERecord?id=CVE-2026-113781
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-113781.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-113781
Aliases
  • GHSA-rjvf-fxv5-x87j
Published
2026-11-17T19:07:15Z
Modified
2026-11-18T01:05:07Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H CVSS Calculator
Summary
ESP-IDF: Buffer Overflow in BLE Mesh GATTS Read Callback Handler
Details

ESP-IDF is the Espressif Internet of Things (IoT) Development Framework. Prior to 5.2.8, 5.3.6, 5.5.6, and 6.0.3, the Bluedroid BLE Mesh GATT server read handler bt_mesh_bta_gatts_cb in esp_ble_mesh stores a signed attribute-read callback length in an unsigned 16-bit variable. A negative ATT error code is therefore interpreted as a very large successful length and used for a memory copy from a small stack buffer into the GATT response structure. A remote attacker within Bluetooth LE range who can connect to an exposed PB-GATT provisioning or Mesh Proxy service can trigger a failed attribute read with a crafted request. On devices where the affected attributes are accessible without pairing, exploitation requires neither pairing nor user interaction; access requirements depend on device configuration. The resulting out-of-bounds read and stack-based buffer overflow corrupts the Bluetooth host task stack, causing a crash and device restart and potentially further memory corruption. The issue affects devices built with CONFIG_BT_BLUEDROID_ENABLED=y and BLE Mesh GATT enabled; the NimBLE host path is not affected. This issue is fixed in versions 5.2.8, 5.3.6, 5.5.6, and 6.0.3.

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

Affected packages

Git / github.com/espressif/esp-idf

Affected ranges

Type
GIT
Repo
https://github.com/espressif/esp-idf
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "5.1.7"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "5.2.0"
                },
                {
                    "fixed":  "5.2.8"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "5.3.0"
                },
                {
                    "fixed":  "5.3.6"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "5.4.0"
                },
                {
                    "last_affected":  "5.4.4"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "5.5.0"
                },
                {
                    "fixed":  "5.5.6"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "6.0.0"
                },
                {
                    "fixed":  "6.0.3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "00adfb3cbcf9a4a9e6ff1a2b99937a253887f8ca"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "2fed52c72944781562fb63b8be7b6d29f3cff97e"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "812f7de59efdf79529e1c10cd788d324fa05f10d"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "c146056e55815cad542aff640a21e3f94879dd6a"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "ce902a85135b0e069c125b11735aa8757fb528b2"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "f9da09de61e98c9074d5cb89d5b1b4c37739fa85"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v5.2.8",
            "range":  [
                {
                    "fixed":  "530b95fc293b465142dcb4bc82d55ef09d7ad9c0"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "v5.3.6",
            "range":  [
                {
                    "fixed":  "79e3454c68248bd7d881721c9b2e94561378a8ce"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "v5.5.6",
            "range":  [
                {
                    "fixed":  "880a203ae603d08a94d06aa01e0d6761958e5e9e"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "v6.0.3",
            "range":  [
                {
                    "fixed":  "76f5dedd9950a3012fee8fb7d5586df21fc67802"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.9
v1.*
v1.0
v2.*
v2.0-rc1
v2.1-rc1
v3.*
v3.0-dev
v3.1-beta1
v3.1-dev
v3.2-beta1
v3.2-dev
v3.3-beta1
v3.3-beta2
v3.3-dev
v4.*
v4.0-dev
v4.1-dev
v4.2-dev
v4.3-beta1
v4.3-dev
v5.*
v5.0-beta1
v5.0-dev
v5.1
v5.1-beta1
v5.1-rc1
v5.1-rc2
v5.1.7
v5.2
v5.2-beta1
v5.2-beta2
v5.2-dev
v5.2-rc1
v5.3
v5.3-beta1
v5.3-beta2
v5.3-rc1
v5.4-beta2
v5.4.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-113781.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "217416237571293595965988690240126775091",
                "2085065373462046675298005554800175062",
                "178452018876115463035390971647887985410",
                "289463753844708149055877064249397886486",
                "266912752098346687463061584956851796050",
                "30644288626404084786911501158417115536",
                "221932321127162661916834183466278836064",
                "85815129476353433121704801673827613663"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-113781-59dc1ee7",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/espressif/esp-idf/commit/812f7de59efdf79529e1c10cd788d324fa05f10d",
        "target":  {
            "file":  "components/bt/esp_ble_mesh/core/bluedroid_host/adapter.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "217416237571293595965988690240126775091",
                "2085065373462046675298005554800175062",
                "178452018876115463035390971647887985410",
                "289463753844708149055877064249397886486",
                "266912752098346687463061584956851796050",
                "30644288626404084786911501158417115536",
                "221932321127162661916834183466278836064",
                "85815129476353433121704801673827613663"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-113781-6c1f08dd",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/espressif/esp-idf/commit/00adfb3cbcf9a4a9e6ff1a2b99937a253887f8ca",
        "target":  {
            "file":  "components/bt/esp_ble_mesh/core/bluedroid_host/adapter.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "217416237571293595965988690240126775091",
                "2085065373462046675298005554800175062",
                "178452018876115463035390971647887985410",
                "289463753844708149055877064249397886486",
                "266912752098346687463061584956851796050",
                "30644288626404084786911501158417115536",
                "221932321127162661916834183466278836064",
                "85815129476353433121704801673827613663"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-113781-7bbed934",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/espressif/esp-idf/commit/c146056e55815cad542aff640a21e3f94879dd6a",
        "target":  {
            "file":  "components/bt/esp_ble_mesh/core/bluedroid_host/adapter.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "217416237571293595965988690240126775091",
                "2085065373462046675298005554800175062",
                "178452018876115463035390971647887985410",
                "289463753844708149055877064249397886486",
                "266912752098346687463061584956851796050",
                "30644288626404084786911501158417115536",
                "221932321127162661916834183466278836064",
                "85815129476353433121704801673827613663"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-113781-7c594982",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/espressif/esp-idf/commit/f9da09de61e98c9074d5cb89d5b1b4c37739fa85",
        "target":  {
            "file":  "components/bt/esp_ble_mesh/core/bluedroid_host/adapter.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "217416237571293595965988690240126775091",
                "2085065373462046675298005554800175062",
                "178452018876115463035390971647887985410",
                "289463753844708149055877064249397886486",
                "266912752098346687463061584956851796050",
                "30644288626404084786911501158417115536",
                "221932321127162661916834183466278836064",
                "85815129476353433121704801673827613663"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-113781-d023e352",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/espressif/esp-idf/commit/ce902a85135b0e069c125b11735aa8757fb528b2",
        "target":  {
            "file":  "components/bt/esp_ble_mesh/core/bluedroid_host/adapter.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "217416237571293595965988690240126775091",
                "2085065373462046675298005554800175062",
                "178452018876115463035390971647887985410",
                "289463753844708149055877064249397886486",
                "266912752098346687463061584956851796050",
                "30644288626404084786911501158417115536",
                "221932321127162661916834183466278836064",
                "85815129476353433121704801673827613663"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-113781-ffcf8bd9",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/espressif/esp-idf/commit/2fed52c72944781562fb63b8be7b6d29f3cff97e",
        "target":  {
            "file":  "components/bt/esp_ble_mesh/core/bluedroid_host/adapter.c"
        }
    }
]
vanir_signatures_modified
"2026-11-18T01:05:07Z"