{"id":"CVE-2023-53570","published":"2025-10-04T15:17:11Z","modified":"2026-08-05T09:14:53Z","title":"wifi: nl80211: fix integer overflow in nl80211_parse_mbssid_elems()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: nl80211: fix integer overflow in nl80211_parse_mbssid_elems()\n\nnl80211_parse_mbssid_elems() uses a u8 variable num_elems to count the\nnumber of MBSSID elements in the nested netlink attribute attrs, which can\nlead to an integer overflow if a user of the nl80211 interface specifies\n256 or more elements in the corresponding attribute in userspace. The\ninteger overflow can lead to a heap buffer overflow as num_elems determines\nthe size of the trailing array in elems, and this array is thereafter\nwritten to for each element in attrs.\n\nNote that this vulnerability only affects devices with the\nwiphy->mbssid_max_interfaces member set for the wireless physical device\nstruct in the device driver, and can only be triggered by a process with\nCAP_NET_ADMIN capabilities.\n\nFix this by checking for a maximum of 255 elements in attrs.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00172,"percentile":0.06565,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e642eb67b8c10dcce758d549cc81564116e0fa49","tags":[]},{"url":"https://git.kernel.org/stable/c/7d09f9f255a5f78578deba5454923072bb53b16c","tags":[]},{"url":"https://git.kernel.org/stable/c/6311071a056272e1e761de8d0305e87cc566f734","tags":[]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":1.31},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= dc1e3cb8da8b414b37208b2fb6755fef8122504b, < e642eb67b8c10dcce758d549cc81564116e0fa49",">= dc1e3cb8da8b414b37208b2fb6755fef8122504b, < 7d09f9f255a5f78578deba5454923072bb53b16c",">= dc1e3cb8da8b414b37208b2fb6755fef8122504b, < 6311071a056272e1e761de8d0305e87cc566f734"]},{"vendor":"Linux","product":"Linux","versions":["5.16"]}],"euvd":{"id":"EUVD-2025-32298","exploited":false,"provenance":"source"}}