Stack-based buffer overflow in ESP-IDF - CVE-2026-113781
Published: November 4, 2026
Vulnerability details
The vulnerability allows a remote attacker on the local network to corrupt memory and cause a denial of service through a device crash and restart.
The vulnerability exists due to a signed-to-unsigned conversion error leading to a stack-based buffer overflow in the Bluedroid BLE Mesh GATT server read handler, bt_mesh_bta_gatts_cb, when processing attribute read requests. A remote attacker on the local network can send a crafted read request to an exposed PB-GATT provisioning or Mesh Proxy service within Bluetooth LE range to trigger a failed attribute read whose negative error code is interpreted as a large unsigned length, causing an out-of-bounds memory copy that corrupts the Bluetooth host task stack.
The device must have the Bluedroid host (CONFIG_BT_BLUEDROID_ENABLED=y) and BLE Mesh enabled. The NimBLE host adapter is not affected.