{"api_version":"1","generated_at":"2026-05-03T12:42:29+00:00","cve":"CVE-2026-31780","urls":{"html":"https://cve.report/CVE-2026-31780","api":"https://cve.report/api/cve/CVE-2026-31780.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31780","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31780"},"summary":{"title":"wifi: wilc1000: fix u8 overflow in SSID scan buffer size calculation","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wilc1000: fix u8 overflow in SSID scan buffer size calculation\n\nThe variable valuesize is declared as u8 but accumulates the total\nlength of all SSIDs to scan. Each SSID contributes up to 33 bytes\n(IEEE80211_MAX_SSID_LEN + 1), and with WILC_MAX_NUM_PROBED_SSID (10)\nSSIDs the total can reach 330, which wraps around to 74 when stored\nin a u8.\n\nThis causes kmalloc to allocate only 75 bytes while the subsequent\nmemcpy writes up to 331 bytes into the buffer, resulting in a 256-byte\nheap buffer overflow.\n\nWiden valuesize from u8 to u32 to accommodate the full range.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-01 15:16:41","updated_at":"2026-05-03 07:16:21"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/9907ac9b9a18b92fc34b9e4cb9e10f208dc1d3f7","name":"https://git.kernel.org/stable/c/9907ac9b9a18b92fc34b9e4cb9e10f208dc1d3f7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/549f02d8ec94d39092ab6d9b103d0d6783a4b024","name":"https://git.kernel.org/stable/c/549f02d8ec94d39092ab6d9b103d0d6783a4b024","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d8388614de613c28eeb659c10115060a83739924","name":"https://git.kernel.org/stable/c/d8388614de613c28eeb659c10115060a83739924","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d049e56b1739101d1c4d81deedb269c52a8dbba0","name":"https://git.kernel.org/stable/c/d049e56b1739101d1c4d81deedb269c52a8dbba0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c97b2a00059608592ad0d86fbb813a4f8cf9464b","name":"https://git.kernel.org/stable/c/c97b2a00059608592ad0d86fbb813a4f8cf9464b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0c7f21d8bd2f93998b72b7a7f93152336aeca4dd","name":"https://git.kernel.org/stable/c/0c7f21d8bd2f93998b72b7a7f93152336aeca4dd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bfbddeadd4779651403035ee177ae2f22f9f5521","name":"https://git.kernel.org/stable/c/bfbddeadd4779651403035ee177ae2f22f9f5521","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/34a23fd9ddd683a03c7e8cc0ceded3e59e354b99","name":"https://git.kernel.org/stable/c/34a23fd9ddd683a03c7e8cc0ceded3e59e354b99","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-31780","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31780","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c5c77ba18ea66aa05441c71e38473efb787705a4 34a23fd9ddd683a03c7e8cc0ceded3e59e354b99 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c5c77ba18ea66aa05441c71e38473efb787705a4 549f02d8ec94d39092ab6d9b103d0d6783a4b024 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c5c77ba18ea66aa05441c71e38473efb787705a4 bfbddeadd4779651403035ee177ae2f22f9f5521 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c5c77ba18ea66aa05441c71e38473efb787705a4 9907ac9b9a18b92fc34b9e4cb9e10f208dc1d3f7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c5c77ba18ea66aa05441c71e38473efb787705a4 c97b2a00059608592ad0d86fbb813a4f8cf9464b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c5c77ba18ea66aa05441c71e38473efb787705a4 d8388614de613c28eeb659c10115060a83739924 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c5c77ba18ea66aa05441c71e38473efb787705a4 0c7f21d8bd2f93998b72b7a7f93152336aeca4dd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c5c77ba18ea66aa05441c71e38473efb787705a4 d049e56b1739101d1c4d81deedb269c52a8dbba0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.253 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.203 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.168 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.134 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.81 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.22 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.12 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"31780","cve":"CVE-2026-31780","epss":"0.000300000","percentile":"0.086370000","score_date":"2026-05-02","updated_at":"2026-05-03 00:00:23"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/wireless/microchip/wilc1000/hif.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"34a23fd9ddd683a03c7e8cc0ceded3e59e354b99","status":"affected","version":"c5c77ba18ea66aa05441c71e38473efb787705a4","versionType":"git"},{"lessThan":"549f02d8ec94d39092ab6d9b103d0d6783a4b024","status":"affected","version":"c5c77ba18ea66aa05441c71e38473efb787705a4","versionType":"git"},{"lessThan":"bfbddeadd4779651403035ee177ae2f22f9f5521","status":"affected","version":"c5c77ba18ea66aa05441c71e38473efb787705a4","versionType":"git"},{"lessThan":"9907ac9b9a18b92fc34b9e4cb9e10f208dc1d3f7","status":"affected","version":"c5c77ba18ea66aa05441c71e38473efb787705a4","versionType":"git"},{"lessThan":"c97b2a00059608592ad0d86fbb813a4f8cf9464b","status":"affected","version":"c5c77ba18ea66aa05441c71e38473efb787705a4","versionType":"git"},{"lessThan":"d8388614de613c28eeb659c10115060a83739924","status":"affected","version":"c5c77ba18ea66aa05441c71e38473efb787705a4","versionType":"git"},{"lessThan":"0c7f21d8bd2f93998b72b7a7f93152336aeca4dd","status":"affected","version":"c5c77ba18ea66aa05441c71e38473efb787705a4","versionType":"git"},{"lessThan":"d049e56b1739101d1c4d81deedb269c52a8dbba0","status":"affected","version":"c5c77ba18ea66aa05441c71e38473efb787705a4","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/wireless/microchip/wilc1000/hif.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.2"},{"lessThan":"4.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.253","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.203","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.168","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.134","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.81","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.22","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.12","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.253","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.203","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.168","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.134","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.81","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.22","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.12","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"4.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wilc1000: fix u8 overflow in SSID scan buffer size calculation\n\nThe variable valuesize is declared as u8 but accumulates the total\nlength of all SSIDs to scan. Each SSID contributes up to 33 bytes\n(IEEE80211_MAX_SSID_LEN + 1), and with WILC_MAX_NUM_PROBED_SSID (10)\nSSIDs the total can reach 330, which wraps around to 74 when stored\nin a u8.\n\nThis causes kmalloc to allocate only 75 bytes while the subsequent\nmemcpy writes up to 331 bytes into the buffer, resulting in a 256-byte\nheap buffer overflow.\n\nWiden valuesize from u8 to u32 to accommodate the full range."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"providerMetadata":{"dateUpdated":"2026-05-03T05:45:57.457Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/34a23fd9ddd683a03c7e8cc0ceded3e59e354b99"},{"url":"https://git.kernel.org/stable/c/549f02d8ec94d39092ab6d9b103d0d6783a4b024"},{"url":"https://git.kernel.org/stable/c/bfbddeadd4779651403035ee177ae2f22f9f5521"},{"url":"https://git.kernel.org/stable/c/9907ac9b9a18b92fc34b9e4cb9e10f208dc1d3f7"},{"url":"https://git.kernel.org/stable/c/c97b2a00059608592ad0d86fbb813a4f8cf9464b"},{"url":"https://git.kernel.org/stable/c/d8388614de613c28eeb659c10115060a83739924"},{"url":"https://git.kernel.org/stable/c/0c7f21d8bd2f93998b72b7a7f93152336aeca4dd"},{"url":"https://git.kernel.org/stable/c/d049e56b1739101d1c4d81deedb269c52a8dbba0"}],"title":"wifi: wilc1000: fix u8 overflow in SSID scan buffer size calculation","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-31780","datePublished":"2026-05-01T14:15:07.253Z","dateReserved":"2026-03-09T15:48:24.141Z","dateUpdated":"2026-05-03T05:45:57.457Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-01 15:16:41","lastModifiedDate":"2026-05-03 07:16:21","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"31780","Ordinal":"1","Title":"wifi: wilc1000: fix u8 overflow in SSID scan buffer size calcula","CVE":"CVE-2026-31780","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"31780","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wilc1000: fix u8 overflow in SSID scan buffer size calculation\n\nThe variable valuesize is declared as u8 but accumulates the total\nlength of all SSIDs to scan. Each SSID contributes up to 33 bytes\n(IEEE80211_MAX_SSID_LEN + 1), and with WILC_MAX_NUM_PROBED_SSID (10)\nSSIDs the total can reach 330, which wraps around to 74 when stored\nin a u8.\n\nThis causes kmalloc to allocate only 75 bytes while the subsequent\nmemcpy writes up to 331 bytes into the buffer, resulting in a 256-byte\nheap buffer overflow.\n\nWiden valuesize from u8 to u32 to accommodate the full range.","Type":"Description","Title":"wifi: wilc1000: fix u8 overflow in SSID scan buffer size calcula"}]}}}