CVE-2026-10664: Out-of-bounds write in nRF70 Wi-Fi driver power-save event handler (unbounded TWT flow count)
The nRF70 Wi-Fi driver's power-save event handler nrfwifieventprocgetpowersaveinfo() in drivers/wifi/nrfwifi/src/wifimgmt.c copied TWT (Target Wake Time) flow entries from an nrfwifiumaceventpowersaveinfo event into the fixed-size twtflows[WIFIMAXTWTFLOWS] (8-element) array of a caller-supplied struct wifipsconfig, looping over event-provided numtwtflows without validating it against WIFIMAXTWTFLOWS or checking eventlen. When numtwtflows 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 twtflowinfo[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 CONFIGNRF70STAMODE on releases through v4.4.0. The fix rejects events with numtwtflows > WIFIMAXTWTFLOWS or with eventlen shorter than the claimed entries, and adds a NULL check on the caller buffer.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-10664?
The severity of CVE-2026-10664 is medium with a score of 5.
How do I fix CVE-2026-10664?
To fix CVE-2026-10664, update the nRF70 Wi-Fi driver to the latest version that includes the patch for the out-of-bounds write issue.
What impact does CVE-2026-10664 have on systems?
CVE-2026-10664 can lead to potential denial-of-service conditions due to an out-of-bounds write in the power-save event handler.
Which software is affected by CVE-2026-10664?
CVE-2026-10664 affects the nRF70 Wi-Fi driver specifically.
What is the cause of CVE-2026-10664?
CVE-2026-10664 is caused by an unbounded TWT flow count being copied into a fixed-size array in the Wi-Fi driver's event handler.