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.
Published: 2026-07-12
Score: 5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A malformed Wi‑Fi power‑save event caused by the nRF70 co‑processor firmware copies an unbounded number of TWT (Target Wake Time) flow entries into a fixed eight‑element array supplied by the host stack. The missing bounds checks result in an out‑of‑bounds write of roughly 40 bytes per overflowed entry, which can corrupt stack memory of the caller and may lead to a crash, data loss, or, if an attacker can arrange a suitable event payload, arbitrary code execution. Based on the description, it is inferred that the absence of validation allows the host to overwrite memory beyond the intended buffer. The CWE identified is 787, signifying a classic out‑of‑bounds write vulnerability. This flaw is categorized with a CVSS score of 5, indicating moderate severity.

Affected Systems

The issue affects Zephyr Project builds that enable the nRF70 STA mode (CONFIG_NRF70_STA_MODE) on releases through v4.4.0. Any host‑side software that relies on the power‑save event handling in drivers/wifi/nrf_wifi/src/wifi_mgmt.c and receives events from the nRF70 co‑processor could be susceptible. Typical victims include embedded devices running Zephyr and interacting with an nRF70 Wi‑Fi module for power‑save functions. Based on the description, it is inferred that the vulnerability impacts any host configuration that processes power‑save events from the nRF70 co‑processor.

Risk and Exploitability

The vulnerability requires the co‑processor firmware to emit a malformed or out‑range event, so the attack surface is confined to the host‑to‑trusted‑coprocessor boundary and not a direct remote code injection from an external Wi‑Fi access point. The EPSS score is less than 1 %, indicating a very low chance of exploitation. Nonetheless, the possibility of memory corruption can lead to denial of service, and in a permissive environment the overflow could be leveraged for arbitrary code execution if the attacker has control over the event payload. Security teams should therefore assess the risk based on whether the device processes power‑save events from potentially untrusted firmware and whether the configuration allows co‑processor interaction.

Generated by OpenCVE AI on August 1, 2026 at 11:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Zephyr source to a release that includes the commit a2c4324ac or newer (v4.4.1 or later) to receive the out‑of‑bounds check and NULL guard
  • If upgrading is not immediately possible, disable CONFIG_NRF70_STA_MODE or block power‑save event processing in the host configuration so that the vulnerable handler is not invoked
  • Verify and update the nRF70 co‑processor firmware to a version that validates event length and flow count, ensuring it cannot send malformed power‑save events

Generated by OpenCVE AI on August 1, 2026 at 11:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 12 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Zephyrproject
Zephyrproject zephyr
Vendors & Products Zephyrproject
Zephyrproject zephyr

Sun, 12 Jul 2026 16:45:00 +0000

Type Values Removed Values Added
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.
Title Out-of-bounds write in nRF70 Wi-Fi driver power-save event handler (unbounded TWT flow count)
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 5, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}


Subscriptions

Zephyrproject Zephyr
cve-icon MITRE

Status: PUBLISHED

Assigner: zephyr

Published:

Updated: 2026-07-14T18:38:45.254Z

Reserved: 2026-06-02T15:25:25.070Z

Link: CVE-2026-10664

cve-icon Vulnrichment

Updated: 2026-07-13T15:47:54.869Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T11:15:03Z

Weaknesses