CVE-2026-64446CWE-787

CVE-2026-64446

High · published July 25, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
3.5
In the wild
Unconfirmed
What it is

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

staging: rtl8723bs: fix heap buffer overflow in rtw_cfg80211_set_wpa_ie()

supplicant_ie is a 256-byte array in struct security_priv. The WPA and

WPA2 IE copy paths use:

memcpy(padapter->securitypriv.supplicant_ie, &pwpa[0], wpa_ielen + 2);

where wpa_ielen is the raw IE length field (u8, 0-255). When a local user

supplies a connect request via nl80211 with a crafted WPA IE of length 255,

wpa_ielen + 2 equals 257, overflowing the 256-byte buffer by one byte into

the adjacent last_mic_err_time field.

rtw_parse_wpa_ie() does not prevent this: its length consistency check

compares *(wpa_ie+1) against (u8)(wpa_ie_len-2), which is (u8)(255) == 255

when wpa_ie_len = 257, so the check passes silently.

Add explicit bounds checks for both the WPA and WPA2 paths before the

memcpy, rejecting any IE whose total size (wpa_ielen + 2) exceeds the

supplicant_ie buffer.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00145 · 3.5th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2026-07-25T14:17Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 4.12, < 5.10.2615.10.261
linux/linux_kernel≥ 5.11, < 5.15.2125.15.212
linux/linux_kernel≥ 5.16, < 6.1.1786.1.178
linux/linux_kernel≥ 6.2, < 6.6.1456.6.145
linux/linux_kernel≥ 6.7, < 6.12.966.12.96
linux/linux_kernel≥ 6.13, < 6.18.396.18.39
linux/linux_kernel≥ 6.19, < 7.1.47.1.4
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 25 JUL 08:51Z
    staging: rtl8723bs: fix heap buffer overflow in rtw_cfg80211_set_wpa_ie()
    cvelistv5