Stack-based buffer overflow in ESP-IDF - CVE-2026-113781

 

Stack-based buffer overflow in ESP-IDF - CVE-2026-113781

Published: November 4, 2026


Vulnerability identifier: #VU159287
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-113781
CWE-ID: CWE-121
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

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.


Affected software

ESP-IDF

How to mitigate CVE-2026-113781

Install security update from vendor's website.

ESP-IDF - addressed in versions 5.2.8, 5.3.6, 5.5.6, 6.0.3

External References

Related Security Bulletins