# CVE-2022-49405: staging: r8188eu: prevent ->Ssid overflow in rtw_wx_set_scan()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/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.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-02-26T02:12:30.617Z
- Modified: 2026-08-05T08:55:02.085Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

staging: r8188eu: prevent ->Ssid overflow in rtw_wx_set_scan()

This code has a check to prevent read overflow but it needs another
check to prevent writing beyond the end of the ->Ssid[] array.

(As written by CVE List.)

## Affected

- Linux Linux: from 2b42bd58b32155a1be4dd78991845dec05aaef9e before ac2eab7de458f5e1210ce1237afab40a307075c8; from 2b42bd58b32155a1be4dd78991845dec05aaef9e before c4bd6b72df4f01aa866ceb298466d6d07a6bd525; from 2b42bd58b32155a1be4dd78991845dec05aaef9e before 476bfda0be0f9669add92bff604ca78226cf53d1; from 2b42bd58b32155a1be4dd78991845dec05aaef9e before bc10916e890948d8927a5c8c40fb5dc44be5e1b8; 5.15 (not affected: before 5.15; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.15 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3

## Every score

- Linux: 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`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/ac2eab7de458f5e1210ce1237afab40a307075c8> (patch)
- <https://git.kernel.org/stable/c/c4bd6b72df4f01aa866ceb298466d6d07a6bd525> (patch)
- <https://git.kernel.org/stable/c/476bfda0be0f9669add92bff604ca78226cf53d1> (patch)
- <https://git.kernel.org/stable/c/bc10916e890948d8927a5c8c40fb5dc44be5e1b8> (patch)

## Sources

- CVE List: [CVE-2022-49405](https://www.cve.org/CVERecord?id=CVE-2022-49405), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49405](https://nvd.nist.gov/vuln/detail/CVE-2022-49405), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49405 · Whole record: https://cve.day/CVE-2022-49405.json · Rebuilt by cve.day 2026-11-25T22:58:20.505Z
