CVE-2025-39952 wifi: wilc1000: avoid buffer overflow in WID string configuration
A buffer overflow in the Linux kernel's wilc1000 Wi-Fi driver allows attackers to cause memory corruption, potentially leading to code execution or system crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-39952?
CVE-2025-39952 is a high-severity memory corruption vulnerability in Linux kernel, published on 4 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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'.
Weakness: CWE-787
Which versions are affected by CVE-2025-39952?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-39952?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-39952 being exploited?
There is no known exploitation of CVE-2025-39952 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-39952, DEBIAN-CVE-2025-39952, GHSA-prff-pf2c-76w4, ROOT-OS-DEBIAN-11-CVE-2025-39952, ROOT-OS-DEBIAN-12-CVE-2025-39952, ROOT-OS-DEBIAN-13-CVE-2025-39952 and 3 more.