CVE-2026-107470

Out-of-bounds write in WINC1500 Wi-Fi offload driver via firmware-reported socket IDs on accept

Published Dec 6, 2026 CVSS 3.1 · 6.5 Medium EPSS n/a KEV · Not listed
Description
The WINC1500 Wi-Fi offload driver (drivers/wifi/winc1500/wifi_winc1500.c) keeps per-socket state in w1500_data.socket_data[], sized by CONFIG_WIFI_WINC1500_OFFLOAD_MAX_SOCKETS (default 2). The socket event callback winc1500_socket_cb() and the accept handler handle_socket_msg_accept() indexed this array with socket IDs reported by the WINC1500 firmware without any bounds check. In the accept handler, a negative (error) socket ID also fell through into the indexing path because the error branch did not return.

The firmware assigns the socket ID of each inbound TCP connection from its own pool of 7 TCP sockets, independent of the 2-entry Zephyr table. When an application runs a TCP server over the WINC1500 offloaded interface, a remote network peer that opens connections can cause the firmware to report an accepted socket ID of 2 or higher. handle_socket_msg_accept() then memcpy()s a full struct socket_data past the end of socket_data[], and later receive callbacks and winc1500_recv()/winc1500_put() read and write further out-of-bounds state for that ID.

The out-of-bounds writes corrupt adjacent driver state, including w1500_data.iface and the scan_cb function pointer, as well as following static data, and the driver later calls through function pointers loaded from the corrupted memory. The written contents are mostly copies of the listening socket's state rather than attacker-chosen bytes, so the practical impact is memory corruption leading to a crash (remote denial of service), with integrity impact possible. A malicious or compromised WINC1500 module could also trigger the same out-of-bounds accesses with arbitrary socket IDs.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Zephyrproject
Zephyrproject zephyr
Vendors & Products Zephyrproject
Zephyrproject zephyr
Type Values Removed Values Added
Description The WINC1500 Wi-Fi offload driver (drivers/wifi/winc1500/wifi_winc1500.c) keeps per-socket state in w1500_data.socket_data[], sized by CONFIG_WIFI_WINC1500_OFFLOAD_MAX_SOCKETS (default 2). The socket event callback winc1500_socket_cb() and the accept handler handle_socket_msg_accept() indexed this array with socket IDs reported by the WINC1500 firmware without any bounds check. In the accept handler, a negative (error) socket ID also fell through into the indexing path because the error branch did not return. The firmware assigns the socket ID of each inbound TCP connection from its own pool of 7 TCP sockets, independent of the 2-entry Zephyr table. When an application runs a TCP server over the WINC1500 offloaded interface, a remote network peer that opens connections can cause the firmware to report an accepted socket ID of 2 or higher. handle_socket_msg_accept() then memcpy()s a full struct socket_data past the end of socket_data[], and later receive callbacks and winc1500_recv()/winc1500_put() read and write further out-of-bounds state for that ID. The out-of-bounds writes corrupt adjacent driver state, including w1500_data.iface and the scan_cb function pointer, as well as following static data, and the driver later calls through function pointers loaded from the corrupted memory. The written contents are mostly copies of the listening socket's state rather than attacker-chosen bytes, so the practical impact is memory corruption leading to a crash (remote denial of service), with integrity impact possible. A malicious or compromised WINC1500 module could also trigger the same out-of-bounds accesses with arbitrary socket IDs.
Title Out-of-bounds write in WINC1500 Wi-Fi offload driver via firmware-reported socket IDs on accept
Weaknesses CWE-787
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
zephyr
Published
Updated
Dec 6, 2026, 3:16 PM
Reserved
Oct 8, 2026, 7:25 AM
Status
Awaiting Analysis
Published
Dec 6, 2026, 4:17 PM
Modified
Dec 6, 2026, 4:17 PM