CVE-2026-10664: nRF70 Wi-Fi - Buffer Overflow
- Cve: CVE-2026-10664
- Name: nRF70 Wi-Fi - Buffer Overflow
- Description: The nRF70 Wi-Fi driver's power-save event handler nrf_wifi_event_proc_get_power_save_info() in drivers/wifi/nrf_wifi/src/wifi_mgmt.c copied TWT (Target Wake Time) flow entries from an nrf_wifi_umac_event_power_save_info event into the fixed-size twt_flows[WIFI_MAX_TWT_FLOWS] (8-element) array of a caller-supplied struct wifi_ps_config, looping over event-provided num_twt_flows without validating it against WIFI_MAX_TWT_FLOWS or checking event_len. When num_twt_flows exceeds 8, the handler writes past the destination array (which is typically on the caller's stack, e.g. the wifi ps shell command) -- an out-of-bounds write of ~40-byte TWT entries -- and reads twt_flow_info[i] past the event buffer. The event is delivered by the nRF70 co-processor firmware in response to a host-initiated power-save GET, so reaching the overflow requires the firmware to emit a malformed or out-of-range event; the trust boundary is host-to-trusted-coprocessor rather than a direct remote-AP write, with over-the-air influence on the flow count being indirect and bounded by the 3-bit TWT flow-id space. Affected: builds with CONFIG_NRF70_STA_MODE on releases through v4.4.0. The fix rejects events with num_twt_flows > WIFI_MAX_TWT_FLOWS or with event_len shorter than the claimed entries, and adds a NULL check on the caller buffer.
- Impact: Malicious firmware events can cause out-of-bounds writes, potentially leading to memory corruption and code execution on the host.
- Remediation: Update to a version after v4.4.0 that validates num_twt_flows and event length properly.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution
- Requirements: Requires malicious or malformed event from trusted co-processor firmware
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5
- Cvss vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- Epss score: 0.00223
- Epss percentile: 0.12743
- Assignee: [email protected]
- Published at: 2026-07-12T17:16:24Z
- Age in days: 135
- Modified at: 2026-11-04T05:18:24Z
- 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-10664
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-3r6j-pm38-r43m | nvd | 2026-07-12 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/zephyrproject-rtos/zephyr/commit/a2c4324acd50a5f92e492e6e460e6297af826148 | nvd | Patch |
| https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-3r6j-pm38-r43m | nvd | Exploit, Mitigation, Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| zephyrproject:zephyr | >= 4.0.0, < 4.5.0 | no | nvd | /v1/products/zephyrproject/zephyr |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| zephyrproject-rtos/zephyr | commit, fix, security_advisory | yes | /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-07-12
- 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