{
  "id": "CVE-2026-64446",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64446",
  "published_at": "2026-07-25T08:51:17.402Z",
  "title": "staging: rtl8723bs: fix heap buffer overflow in rtw_cfg80211_set_wpa_ie()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/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\nstaging: rtl8723bs: fix heap buffer overflow in rtw_cfg80211_set_wpa_ie()\n\nsupplicant_ie is a 256-byte array in struct security_priv. The WPA and\nWPA2 IE copy paths use:\n\n    memcpy(padapter-\u003esecuritypriv.supplicant_ie, \u0026pwpa[0], wpa_ielen + 2);\n\nwhere wpa_ielen is the raw IE length field (u8, 0-255). When a local user\nsupplies a connect request via nl80211 with a crafted WPA IE of length 255,\nwpa_ielen + 2 equals 257, overflowing the 256-byte buffer by one byte into\nthe adjacent last_mic_err_time field.\n\nrtw_parse_wpa_ie() does not prevent this: its length consistency check\ncompares *(wpa_ie+1) against (u8)(wpa_ie_len-2), which is (u8)(255) == 255\nwhen wpa_ie_len = 257, so the check passes silently.\n\nAdd explicit bounds checks for both the WPA and WPA2 paths before the\nmemcpy, rejecting any IE whose total size (wpa_ielen + 2) exceeds the\nsupplicant_ie buffer.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \u003c a94a643a80a84ceb8139061c3d6bf988d75e45a5",
          "\u003e= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \u003c 2131621986c62c86109ce4d84cf73a73757eb8a6",
          "\u003e= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \u003c 6f20d7b0ee47c470734a69379b0fc6647c519603",
          "\u003e= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \u003c 5d7812360abf3143afcbf5efe4ef242448fa1f28",
          "\u003e= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \u003c 46f66c16a95191d9aca07a72ae6b1252a244e26c",
          "\u003e= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \u003c b9c4bf133c3c47e23baf4f5403b98a953bf58606",
          "\u003e= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \u003c 138cd190efd56ab36c9fdd8fef8749d06937f24b",
          "\u003e= 554c0a3abf216c991c5ebddcdb2c08689ecd290b, \u003c 5a752a616e756844388a1a45404db9fc29fec655"
        ],
        "fixed_in": [
          "a94a643a80a84ceb8139061c3d6bf988d75e45a5",
          "2131621986c62c86109ce4d84cf73a73757eb8a6",
          "6f20d7b0ee47c470734a69379b0fc6647c519603",
          "5d7812360abf3143afcbf5efe4ef242448fa1f28",
          "46f66c16a95191d9aca07a72ae6b1252a244e26c",
          "b9c4bf133c3c47e23baf4f5403b98a953bf58606",
          "138cd190efd56ab36c9fdd8fef8749d06937f24b",
          "5a752a616e756844388a1a45404db9fc29fec655"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.12"
        ],
        "fixed_in": [
          "0",
          "5.10.261",
          "5.15.212",
          "6.1.178",
          "6.6.145",
          "6.12.96",
          "6.18.39",
          "7.1.4",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a94a643a80a84ceb8139061c3d6bf988d75e45a5 or 2131621986c62c86109ce4d84cf73a73757eb8a6 or 6f20d7b0ee47c470734a69379b0fc6647c519603 or 5d7812360abf3143afcbf5efe4ef242448fa1f28 or 46f66c16a95191d9aca07a72ae6b1252a244e26c or b9c4bf133c3c47e23baf4f5403b98a953bf58606 or 138cd190efd56ab36c9fdd8fef8749d06937f24b or 5a752a616e756844388a1a45404db9fc29fec655 or later.",
      "Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
