# CVE-2026-10641: Out-of-bounds write in Bluetooth HFP Hands-Free CIND indicator parsing (cind\_handle\_values)

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-06-17T13:14:06.459Z
- **Modified:** 2026-11-04T05:18:22.707Z

## Who should check

- Anyone running zephyrproject zephyr \>= 1.7.0, \< 4.6.0

## Description

Zephyr's Bluetooth Classic Hands-Free Profile (HFP) Hands-Free role parser (subsys/bluetooth/host/classic/hfp\_hf.c) contains an out-of-bounds write. During Service Level Connection setup the HF sends AT+CIND=? and parses the AG's +CIND: response in cind\_handle(), which assigns a per-entry counter index and calls cind\_handle\_values() for each list element. cind\_handle\_values() then wrote hf-\>ind\_table\[index\] = i without verifying that index is within the 20-element int8\_t ind\_table\[\] array of struct bt\_hfp\_hf. Because the parser places no cap on the number of +CIND: list entries, a remote Attendant Gateway (a malicious, compromised, or spoofed peer the device connects to over Bluetooth) can send a response with more than 20 recognized indicator entries and drive index arbitrarily large, writing a small attacker-positioned value past the array into adjacent struct fields (feature masks, SDP/version state, the calls\[\] array, work/atomic bookkeeping) and potentially beyond the static connection pool slot. This yields memory corruption and at least denial of service of the Bluetooth host, triggered by a single malformed AT response with no user interaction. The sibling consumer ag\_indicator\_handle\_values() already performed the equivalent bounds check; this commit adds the same index \>= ARRAY\_SIZE(hf-\>ind\_table) guard to close the gap. Affects builds with CONFIG\_BT\_HFP\_HF enabled; introduced with the original HFP HF CIND parser (~v1.7) and present through v4.4.0.

## Affected and fixed versions

- zephyrproject zephyr: \>= 1.7.0, \< 4.6.0 (cvelist)

## Mitigation

- Upgrade zephyr to 4.6.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-10641. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-10641.md
Affected: zephyrproject zephyr >= 1.7.0, < 4.6.0
Fixed in: zephyrproject zephyr 4.6.0

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-10641 being exploited?

There is no confirmed exploitation: CVE-2026-10641 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-10641?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-10641?

zephyrproject zephyr \>= 1.7.0, \< 4.6.0.

### Is there a fix for CVE-2026-10641?

Yes. Fixed in zephyrproject zephyr 4.6.0. Upgrade zephyr to 4.6.0 or later.

### How do I check if I'm affected by CVE-2026-10641?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wx5j-q6f2-59p3>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/cf7693a8261ae363c9cf46cfd51005486637173e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-10641>

HTML: <https://flawdb.com/CVE-2026-10641> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-10641>
