Buffer overflow in Linux
CVE-2025-39952
- CVSS v3
- 8.8 High
- Public exploits
- None known
- EPSS
- 0.003 · 22.3th percentile
- Published
- 2025-10-04
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'.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Adjacent
AV:A - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.003, 22.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions c5c77ba18ea66aa05441c71e38473efb787705a4, 4.2, 0
- Linux Kernel — versions 6.17
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/6085291a1a5865d4ad70f0e5812d524ebd5d1711 (Patch)
- git.kernel.org/stable/c/2203ef417044b10a8563ade6a17c74183745d72e (Patch)
- git.kernel.org/stable/c/ae50f8562306a7ea1cf3c9722f97ee244f974729 (Patch)
- git.kernel.org/stable/c/fe9e4d0c39311d0f97b024147a0d155333f388b5 (Patch)
- git.kernel.org/stable/c/5f1578a8684794318a60a022cedbffaa3dc444ce