CVE-2026-12236: Infinite loop (DoS) in Bluetooth GATT client parsing of Read-By-Type responses with zero data length

Published Aug 13, 2026
·
Updated

The Bluetooth host GATT client function parsereadstdchardesc() in subsys/bluetooth/host/gatt.c parses an ATT Read By Type Response received from a remote GATT server during BTGATTDISCOVERSTDCHARDESC discovery. The per-entry stride rsp->len is taken directly from the peer's PDU, and the parse loop both tests its exit condition (length >= rsp->len) and advances (length -= rsp->len, pdu += rsp->len) using that value. The minimum value of rsp->len was never validated before the loop.

A malicious or malfunctioning peer can reply with rsp->len = 0. Because length is unsigned and never decreases, the loop condition stays true forever and the read pointer never advances; as long as the body is at least a few bytes with a non-zero handle and a matching descriptor UUID, the host repeatedly re-parses the same bytes and invokes the discovery callback, never terminating. This hangs the Bluetooth host processing thread (CWE-835, loop with unreachable exit condition).

The condition is reachable by any connected peer once the local device initiates standard-descriptor-value discovery; GATT discovery does not require bonding or encryption, so an unauthenticated adjacent attacker that the device connects to can trigger it. The impact is denial of service of the Bluetooth subsystem (and likely a watchdog reset on constrained targets); there is no memory disclosure or corruption.

The fix adds a rsp->len < sizeof(struct btattdata) check before the loop, rejecting under-length responses so the stride is always non-zero and the loop terminates. The sibling parsers parseinclude() and parsecharacteristic() already validated rsp->len and are unaffected.

Affected Software

1 affected component
Bluetooth host GATT client (subsys/bluetooth/host/gatt.c)

Event History

Aug 13, 2026
CVE Published
via MITRE·05:19 PM
Data Sourced
via MITRE·05:19 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-12236?

The severity of CVE-2026-12236 is classified as medium with a score of 6.5.

2

What vulnerability is described in CVE-2026-12236?

CVE-2026-12236 describes an infinite loop denial of service (DoS) vulnerability in the Bluetooth GATT client parsing of Read-By-Type responses with zero data length.

3

How do I fix CVE-2026-12236?

To fix CVE-2026-12236, ensure that your Bluetooth host GATT client implementation handles zero-length data fields properly to avoid infinite loops.

4

What software is affected by CVE-2026-12236?

The affected software is the Bluetooth host GATT client as specified in subsys/bluetooth/host/gatt.c.

5

How can CVE-2026-12236 impact my system?

CVE-2026-12236 can lead to a denial of service (DoS) by causing an infinite loop during Bluetooth GATT operations, potentially rendering the service unresponsive.

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