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.
{
"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"
}{
"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"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-113781.json"
[
{
"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"
}
}
]
"2026-11-18T01:05:07Z"