{
  "id": "CVE-2025-39952",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-39952",
  "published_at": "2025-10-04T07:31:12.445Z",
  "title": "wifi: wilc1000: avoid buffer overflow in WID string configuration",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wilc1000: avoid buffer overflow in WID string configuration\n\nFix the following copy overflow warning identified by Smatch checker.\n\n drivers/net/wireless/microchip/wilc1000/wlan_cfg.c:184 wilc_wlan_parse_response_frame()\n        error: '__memcpy()' 'cfg-\u003es[i]-\u003estr' copy overflow (512 vs 65537)\n\nThis patch introduces size check before accessing the memory buffer.\nThe checks are base on the WID type of received data from the firmware.\nFor WID string configuration, the size limit is determined by individual\nelement size in 'struct wilc_cfg_str_vals' that is maintained in 'len' field\nof 'struct wilc_cfg_str'.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= c5c77ba18ea66aa05441c71e38473efb787705a4, \u003c 5f1578a8684794318a60a022cedbffaa3dc444ce",
          "\u003e= c5c77ba18ea66aa05441c71e38473efb787705a4, \u003c 6085291a1a5865d4ad70f0e5812d524ebd5d1711",
          "\u003e= c5c77ba18ea66aa05441c71e38473efb787705a4, \u003c 2203ef417044b10a8563ade6a17c74183745d72e",
          "\u003e= c5c77ba18ea66aa05441c71e38473efb787705a4, \u003c ae50f8562306a7ea1cf3c9722f97ee244f974729",
          "\u003e= c5c77ba18ea66aa05441c71e38473efb787705a4, \u003c fe9e4d0c39311d0f97b024147a0d155333f388b5"
        ],
        "fixed_in": [
          "5f1578a8684794318a60a022cedbffaa3dc444ce",
          "6085291a1a5865d4ad70f0e5812d524ebd5d1711",
          "2203ef417044b10a8563ade6a17c74183745d72e",
          "ae50f8562306a7ea1cf3c9722f97ee244f974729",
          "fe9e4d0c39311d0f97b024147a0d155333f388b5"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.2"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.108",
          "6.12.49",
          "6.16.9",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 5f1578a8684794318a60a022cedbffaa3dc444ce or 6085291a1a5865d4ad70f0e5812d524ebd5d1711 or 2203ef417044b10a8563ade6a17c74183745d72e or ae50f8562306a7ea1cf3c9722f97ee244f974729 or fe9e4d0c39311d0f97b024147a0d155333f388b5 or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.108 or 6.12.49 or 6.16.9 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
