# CVE-2025-39952: wifi: wilc1000: avoid buffer overflow in WID string configuration

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2025-10-04T07:31:12.445Z
- Modified: 2026-10-30T13:18:11.903Z
- Weaknesses: CWE-787
- Assigned by: Linux

## 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'.

(As written by CVE List.)

## Affected

- Linux Linux: from c5c77ba18ea66aa05441c71e38473efb787705a4 before 5f1578a8684794318a60a022cedbffaa3dc444ce; from c5c77ba18ea66aa05441c71e38473efb787705a4 before 6085291a1a5865d4ad70f0e5812d524ebd5d1711; from c5c77ba18ea66aa05441c71e38473efb787705a4 before 2203ef417044b10a8563ade6a17c74183745d72e; from c5c77ba18ea66aa05441c71e38473efb787705a4 before ae50f8562306a7ea1cf3c9722f97ee244f974729; from c5c77ba18ea66aa05441c71e38473efb787705a4 before fe9e4d0c39311d0f97b024147a0d155333f388b5; 4.2 (not affected: before 4.2; from 6.1.191 up to 6.1.*; from 6.6.108 up to 6.6.*; from 6.12.49 up to 6.12.*; from 6.16.9 up to 6.16.*; from 6.17 up to *)
- linux 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

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/5f1578a8684794318a60a022cedbffaa3dc444ce>
- <https://git.kernel.org/stable/c/6085291a1a5865d4ad70f0e5812d524ebd5d1711> (patch)
- <https://git.kernel.org/stable/c/2203ef417044b10a8563ade6a17c74183745d72e> (patch)
- <https://git.kernel.org/stable/c/ae50f8562306a7ea1cf3c9722f97ee244f974729> (patch)
- <https://git.kernel.org/stable/c/fe9e4d0c39311d0f97b024147a0d155333f388b5> (patch)

## Sources

- CVE List: [CVE-2025-39952](https://www.cve.org/CVERecord?id=CVE-2025-39952), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2025-39952](https://nvd.nist.gov/vuln/detail/CVE-2025-39952), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2025-39952 · Whole record: https://cve.day/CVE-2025-39952.json · Rebuilt by cve.day 2026-11-25T22:59:05.528Z
