# CVE-2026-64445: staging: rtl8723bs: fix WEP length underflow and OOB read in OnAuth()

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/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.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-07-25T08:51:16.670Z
- Modified: 2026-10-19T21:17:39.277Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

staging: rtl8723bs: fix WEP length underflow and OOB read in OnAuth()

OnAuth() has two bugs in the shared-key authentication path.

When the Privacy bit is set, rtw_wep_decrypt() is called without
verifying that the frame is long enough to contain a valid WEP IV and
ICV.  Inside rtw_wep_decrypt(), length is computed as:

    length = len - WLAN_HDR_A3_LEN - iv_len

and then passed as (length - 4) to crc32_le().  If len is less than
WLAN_HDR_A3_LEN + iv_len + icv_len (32 bytes), length - 4 is negative
and, after the implicit cast to size_t, causes crc32_le() to read far
beyond the frame buffer.  Add a minimum length check before accessing
the IV field and calling the decryption path.

When processing a seq=3 response, rtw_get_ie() stores the Challenge
Text IE length in ie_len, but the subsequent memcmp() always reads 128
bytes regardless of ie_len.  IEEE 802.11 mandates a challenge text of
exactly 128 bytes; reject any IE whose length field differs, matching
the check already applied to OnAuthClient().

(As written by CVE List.)

## Affected

- Linux Linux: from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 665e1ecb68b4e8419604e70a33f02d1c8b0222c6; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 87cccc2a767f17dcab71e3b9fe5ae29b5516c5ce; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before c9000c93078e5c0a5a651b077c0ec92a4bc7d580; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 1f6c9d255bdda41216b6e34c96aa2b1abee0bb84; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 3e44a7665f3abd320a80d9c64ee4a93317041b8b; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 64ec4192d9c10e96922245d4a6747304cc76b19d; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before d90b9f39f375c9826ef145605dfe97765d0ecb91; from 554c0a3abf216c991c5ebddcdb2c08689ecd290b before a1fc19d61f661d47204f095b593de507884849f7; 4.12 (not affected: before 4.12; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 4.12 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4; 7.2

## References

- <https://git.kernel.org/stable/c/665e1ecb68b4e8419604e70a33f02d1c8b0222c6> (patch)
- <https://git.kernel.org/stable/c/87cccc2a767f17dcab71e3b9fe5ae29b5516c5ce> (patch)
- <https://git.kernel.org/stable/c/c9000c93078e5c0a5a651b077c0ec92a4bc7d580> (patch)
- <https://git.kernel.org/stable/c/1f6c9d255bdda41216b6e34c96aa2b1abee0bb84> (patch)
- <https://git.kernel.org/stable/c/3e44a7665f3abd320a80d9c64ee4a93317041b8b> (patch)
- <https://git.kernel.org/stable/c/64ec4192d9c10e96922245d4a6747304cc76b19d> (patch)
- <https://git.kernel.org/stable/c/d90b9f39f375c9826ef145605dfe97765d0ecb91> (patch)
- <https://git.kernel.org/stable/c/a1fc19d61f661d47204f095b593de507884849f7> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2026-64445 · Whole record: https://cve.day/CVE-2026-64445.json · Rebuilt by cve.day 2026-11-25T22:59:30.123Z
