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.
{
"cna_assigner": "zephyr",
"cwe_ids": [
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/10xxx/CVE-2026-10641.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "1.7.0"
},
{
"fixed": "4.6.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "4.4.0"
}
],
"source": "DESCRIPTION"
},
{
"range": [
{
"fixed": "cf7693a8261ae363c9cf46cfd51005486637173e"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-10641.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"46719029056030096020005061383458876182",
"297201351527461795542541994714281265319",
"278280297202225315046636887358472285663"
],
"threshold": 0.9
},
"id": "CVE-2026-10641-0b7e2098",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/zephyrproject-rtos/zephyr/commit/cf7693a8261ae363c9cf46cfd51005486637173e",
"target": {
"file": "subsys/bluetooth/host/classic/hfp_hf.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "211395813406178897532210175034473417085",
"length": 585
},
"id": "CVE-2026-10641-ab107159",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/zephyrproject-rtos/zephyr/commit/cf7693a8261ae363c9cf46cfd51005486637173e",
"target": {
"file": "subsys/bluetooth/host/classic/hfp_hf.c",
"function": "cind_handle_values"
}
}
]
"2026-11-05T08:04:11Z"