# wl1251: Fix possible buffer overflow in wl1251_cmd_scan

CVE record · `CVE-2021-47347`

- **Identifiers:** `CVE-2021-47347`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-120](https://cwe.mitre.org/data/definitions/120.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 21 May 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 21 May 2024, 14:35 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `2f01a1f58889fbfeb68b1bc1b52e4197f3333490 to before 57ad99ae3c6738ba87bad259bb57c641ca68ebf6` (git)
  - affected: `2f01a1f58889fbfeb68b1bc1b52e4197f3333490 to before d3d8b9c9c7843dce31e284927d4c9904fd5a510a` (git)
  - affected: `2f01a1f58889fbfeb68b1bc1b52e4197f3333490 to before 0f6c0488368c9ac1aa685821916fadba32f5d1ef` (git)
  - affected: `2f01a1f58889fbfeb68b1bc1b52e4197f3333490 to before 115103f6e3f1c26c473766c16439c7c8b235529a` (git)
  - affected: `2f01a1f58889fbfeb68b1bc1b52e4197f3333490 to before d71dddeb5380613f9ef199f3e7368fd78fb1a46e` (git)
  - affected: `2f01a1f58889fbfeb68b1bc1b52e4197f3333490 to before c5e4a10d7bd5d4f419d8b9705dff60cf69b302a1` (git)
  - affected: `2f01a1f58889fbfeb68b1bc1b52e4197f3333490 to before 302e2ee34c5f7c5d805b7f835d9a6f2b43474e2a` (git)
  - affected: `2f01a1f58889fbfeb68b1bc1b52e4197f3333490 to before 40af3960a15339e8bbd3be50c3bc7b35e1a0b6ea` (git)
  - affected: `2f01a1f58889fbfeb68b1bc1b52e4197f3333490 to before d10a87a3535cce2b890897914f5d0d83df669c63` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.31`
  - unaffected: `before 2.6.31` (semver)
  - unaffected: `4.4.276 to 4.4.*, inclusive` (semver)
  - unaffected: `4.9.276 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.240 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.198 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.133 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.51 to 5.10.*, inclusive` (semver)
  - unaffected: `5.12.18 to 5.12.*, inclusive` (semver)
  - unaffected: `5.13.3 to 5.13.*, inclusive` (semver)
  - unaffected: `5.14 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 8.8 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0081, the 57th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 21 May 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2021-47347](https://www.cve.org/CVERecord?id=CVE-2021-47347)
- [NVD: CVE-2021-47347](https://nvd.nist.gov/vuln/detail/CVE-2021-47347)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2021-47347>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2021-47347/>. Everything for agents: <https://agentprime.io/llms.txt>.
