CVE-2025-39952
wifi: wilc1000: avoid buffer overflow in WID string configuration
Check your servers for CVE-2025-39952
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39952 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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'.
Severity (CVSS)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c5c77ba18ea66aa05441c71e38473efb787705a4, before 5f1578a8684794318a60a022cedbffaa3dc444ce affected from c5c77ba18ea66aa05441c71e38473efb787705a4, before 6085291a1a5865d4ad70f0e5812d524ebd5d1711 affected from c5c77ba18ea66aa05441c71e38473efb787705a4, before 2203ef417044b10a8563ade6a17c74183745d72e affected from c5c77ba18ea66aa05441c71e38473efb787705a4, before ae50f8562306a7ea1cf3c9722f97ee244f974729 affected from c5c77ba18ea66aa05441c71e38473efb787705a4, before fe9e4d0c39311d0f97b024147a0d155333f388b5
Other versions: unaffected
|
| Linux |
affected 4.2 unaffected before 4.2 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.108 up to and including 6.6.* unaffected from 6.12.49 up to and including 6.12.* unaffected from 6.16.9 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39952 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39952
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-39952
trivy image --scanners vuln IMAGE | grep CVE-2025-39952
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/5f1578a8684794318a60a022cedbffaa3dc444ce git.kernel.org
- https://git.kernel.org/stable/c/6085291a1a5865d4ad70f0e5812d524ebd5d1711 git.kernel.org
- https://git.kernel.org/stable/c/2203ef417044b10a8563ade6a17c74183745d72e git.kernel.org
- https://git.kernel.org/stable/c/ae50f8562306a7ea1cf3c9722f97ee244f974729 git.kernel.org
- https://git.kernel.org/stable/c/fe9e4d0c39311d0f97b024147a0d155333f388b5 git.kernel.org
Source: the record CVE-2025-39952 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse