What’s Vulnerable › Vulnerabilities
CVE-2025-39952: wifi: wilc1000: avoid buffer overflow in WID string configuration
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-04 · updated 2026-10-30
- Weakness: CWE-787
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: wilc1000: avoid buffer overflow in WID string configuration Fix the following copy overflow warning identified by Smatch checker. drivers/net/wireless/microchip/wilc1000/wlan_cfg.c:184 wilc_wlan_parse_response_frame() error: '__memcpy()' 'cfg->s[i]->str' copy overflow (512 vs 65537) This patch introduces size check before accessing the memory buffer. The checks are base on the WID type of received data from the firmware. For WID string configuration, the size limit is determined by individual element size in 'struct wilc_cfg_str_vals' that is maintained in 'len' field of 'struct wilc_cfg_str'.
Affected products
- Linux kernel: from 4.2 before 6.6.108; from 6.7 before 6.12.49; from 6.13 before 6.16.9; 6.17-rc1, 6.17-rc2, 6.17-rc3, 6.17-rc4 — fixed in 6.6.108, 6.12.49, 6.16.9
- Linux: 4.2 — fixed in 6.17
How to fix
Upgrade to a fixed version: Linux kernel 6.6.108, 6.12.49, 6.16.9; Linux 6.17. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2203ef417044b10a8563ade6a17c74183745d72e
- https://git.kernel.org/stable/c/5f1578a8684794318a60a022cedbffaa3dc444ce
- https://git.kernel.org/stable/c/6085291a1a5865d4ad70f0e5812d524ebd5d1711
- https://git.kernel.org/stable/c/ae50f8562306a7ea1cf3c9722f97ee244f974729
- https://git.kernel.org/stable/c/fe9e4d0c39311d0f97b024147a0d155333f388b5
Get alerted when CVE-2025-39952 or the next vulnerability affects your stack