# CVE-2021-47347: wl1251: Fix possible buffer overflow in wl1251_cmd_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): 1.04%, higher than 63% of CVEs (2026-11-30)
- Published: 2024-05-21T14:35:52.947Z
- Modified: 2026-08-05T08:47:22.692Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

wl1251: Fix possible buffer overflow in wl1251_cmd_scan

Function wl1251_cmd_scan calls memcpy without checking the length.
Harden by checking the length is within the maximum allowed size.

(As written by CVE List.)

## Affected

- Linux Linux: from 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before 57ad99ae3c6738ba87bad259bb57c641ca68ebf6; from 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before d3d8b9c9c7843dce31e284927d4c9904fd5a510a; from 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before 0f6c0488368c9ac1aa685821916fadba32f5d1ef; from 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before 115103f6e3f1c26c473766c16439c7c8b235529a; from 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before d71dddeb5380613f9ef199f3e7368fd78fb1a46e; from 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before c5e4a10d7bd5d4f419d8b9705dff60cf69b302a1; from 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before 302e2ee34c5f7c5d805b7f835d9a6f2b43474e2a; from 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before 40af3960a15339e8bbd3be50c3bc7b35e1a0b6ea; from 2f01a1f58889fbfeb68b1bc1b52e4197f3333490 before d10a87a3535cce2b890897914f5d0d83df669c63; 2.6.31 (not affected: before 2.6.31; from 4.4.276 up to 4.4.*; from 4.9.276 up to 4.9.*; from 4.14.240 up to 4.14.*; from 4.19.198 up to 4.19.*; from 5.4.133 up to 5.4.*; from 5.10.51 up to 5.10.*; from 5.12.18 up to 5.12.*; from 5.13.3 up to 5.13.*; from 5.14 up to *)
- linux linux_kernel: before 4.4.276; from 4.5 before 4.9.276; from 4.10 before 4.14.240; from 4.15 before 4.19.198; from 4.20 before 5.4.133; from 5.5 before 5.10.51; from 5.11 before 5.12.18; from 5.13 before 5.13.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`
- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/57ad99ae3c6738ba87bad259bb57c641ca68ebf6> (patch)
- <https://git.kernel.org/stable/c/d3d8b9c9c7843dce31e284927d4c9904fd5a510a> (patch)
- <https://git.kernel.org/stable/c/0f6c0488368c9ac1aa685821916fadba32f5d1ef> (patch)
- <https://git.kernel.org/stable/c/115103f6e3f1c26c473766c16439c7c8b235529a> (patch)
- <https://git.kernel.org/stable/c/d71dddeb5380613f9ef199f3e7368fd78fb1a46e> (patch)
- <https://git.kernel.org/stable/c/c5e4a10d7bd5d4f419d8b9705dff60cf69b302a1> (patch)
- <https://git.kernel.org/stable/c/302e2ee34c5f7c5d805b7f835d9a6f2b43474e2a> (patch)
- <https://git.kernel.org/stable/c/40af3960a15339e8bbd3be50c3bc7b35e1a0b6ea> (patch)
- <https://git.kernel.org/stable/c/d10a87a3535cce2b890897914f5d0d83df669c63> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2021-47347 · Whole record: https://cve.day/CVE-2021-47347.json · Rebuilt by cve.day 2026-11-25T22:58:08.809Z
