SecurityContext

CVE-2026-10641: Zephyr Bluetooth Classic HFP - Out-of-Bounds Write

  • Cve: CVE-2026-10641
  • Name: Zephyr Bluetooth Classic HFP - Out-of-Bounds Write
  • 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.
  • Impact: Remote attacker can cause memory corruption and denial of service of the Bluetooth host via a crafted AT response.
  • Remediation: Update to a version later than v4.4.0 with the bounds check fix applied or latest available version.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.1
  • Cvss vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
  • Epss score: 0.00282
  • Epss percentile: 0.21023
  • Assignee: [email protected]
  • Published at: 2026-06-17T14:17:37Z
  • Age in days: 160
  • Modified at: 2026-11-04T05:18:22Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-10641
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wx5j-q6f2-59p3nvd2026-06-17

References

UrlSourceTags
https://github.com/zephyrproject-rtos/zephyr/commit/cf7693a8261ae363c9cf46cfd51005486637173envdPatch
https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-wx5j-q6f2-59p3nvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
zephyrproject:zephyr>= 4.4.0, < 4.4.2; >= 4.0.0, < 4.3.1; >= 3.7.0, < 3.7.3nonvd/v1/products/zephyrproject/zephyr

Projects

RepositoryLink kindsIndexedUrl
zephyrproject-rtos/zephyrcommit, fix, security_advisoryyes/v1/repositories/zephyrproject-rtos/zephyr

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-06-17
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts