CVE-2026-113781: ESP-IDF: Buffer Overflow in BLE Mesh GATTS Read Callback Handler

Published Nov 17, 2026
·
Updated

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 btmeshbtagattscb in espblemesh 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 CONFIGBTBLUEDROIDENABLED=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.

Affected Software

1 affected component
Espressif ESP-IDF<5.2.8, <5.3.6, <5.5.6, <6.0.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.2.8
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.3.6
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.5.6
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.0.3

Event History

Nov 17, 2026
CVE Published
via MITRE·07:07 PM
Data Sourced
via MITRE·07:07 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which devices are affected?

Devices built with CONFIG_BT_BLUEDROID_ENABLED=y that also enable BLE Mesh GATT are affected when using ESP-IDF versions before 5.2.8, 5.3.6, 5.5.6, or 6.0.3. Devices using the NimBLE host path are not affected.

2

What does an attacker need to exploit this issue?

An attacker must be within Bluetooth LE range and able to connect to an exposed PB-GATT provisioning or Mesh Proxy service. Where the affected attributes permit access without pairing, no pairing or user interaction is required; otherwise, access depends on the device configuration.

3

What is the practical impact of a successful attack?

A crafted failed attribute-read request can corrupt the Bluetooth host task stack, causing a crash and device restart. The overflow can also potentially lead to further memory corruption.

4

What should be done if an immediate update is not possible?

Reduce exposure to the PB-GATT provisioning and Mesh Proxy services where configuration permits, particularly unauthenticated access to affected attributes. This limits the remote connection path required for exploitation.

5

Which ESP-IDF releases contain the fix?

The issue is fixed in ESP-IDF 5.2.8, 5.3.6, 5.5.6, and 6.0.3.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203