# CVE-2026-98186: wifi: mwifiex: bound the pairwise-cipher OUI walk to the IE length

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-06T08:44:28.429Z
- **Modified:** 2026-10-19T10:18:18.940Z

## Who should check

- Anyone running Linux \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 77e642af7f2f6029e12a35c847c56cbd0466e799; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 982b8fcdbb28f63bbbf02f0822c0bbda12ec27ed; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 58767b41f87244eebaa5a475b9d276c83b89b933; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 2402c9e2644b7e10c7aaaf87bf12743d7e363559; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 54a9cc5bd70b0d77a5069d4c46998c679a10c857; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 8bbef2b1ebfbadc0b9c37bbbf9c9e26fe2e41960; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 46cda9d42f0d6ec3057d878ddb1f38c0ab9f51df; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< e667aee1c192d67d27c803007bfa9c6e0873e959
- Anyone running Linux 3.0

## Description

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

wifi: mwifiex: bound the pairwise-cipher OUI walk to the IE length

mwifiex\_search\_oui\_in\_ie() reads a pairwise-cipher (PTK) count from a
beacon/probe-response RSN or WPA information element and then walks that
many 4-byte OUIs, comparing each with memcmp(). The count comes straight
from the (attacker-supplied) IE and is never checked against the
element's own length, and the callers admit the element on element\_id
alone (has\_ieee\_hdr() / has\_vendor\_hdr(), no length check). A crafted
RSN/WPA IE with a large pairwise count therefore makes the walk read up
to 255 \* 4 bytes past the element -- an out-of-bounds read of the
kmemdup()'d beacon buffer, reachable from any AP whose beacon/probe
response is processed during scan-result parsing.

Pass the number of IE bytes available at the OUI list and bound the walk
to the element. Keep the length signed and reject a negative value
before any unsigned arithmetic, so a small or zero IE length cannot
underflow to a large size\_t and defeat the bound.

Found by 0sec automated security-research tooling (https://0sec.ai).

## Affected and fixed versions

- Linux: \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 77e642af7f2f6029e12a35c847c56cbd0466e799; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 982b8fcdbb28f63bbbf02f0822c0bbda12ec27ed; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 58767b41f87244eebaa5a475b9d276c83b89b933; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 2402c9e2644b7e10c7aaaf87bf12743d7e363559; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 54a9cc5bd70b0d77a5069d4c46998c679a10c857; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 8bbef2b1ebfbadc0b9c37bbbf9c9e26fe2e41960; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 46cda9d42f0d6ec3057d878ddb1f38c0ab9f51df; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< e667aee1c192d67d27c803007bfa9c6e0873e959 (cvelist)
- Linux: 3.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98186. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98186.md
Affected: Linux >= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, < 77e642af7f2f6029e12a35c847c56cbd0466e799; >= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, < 982b8fcdbb28f63bbbf02f0822c0bbda12ec27ed; >= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, < 58767b41f87244eebaa5a475b9d276c83b89b933; >= 5e6e3a92b9a4c9416b17f46…
Fixed in: Linux 77e642af7f2f6029e12a35c847c56cbd0466e799, Linux 982b8fcdbb28f63bbbf02f0822c0bbda12ec27ed, Linux 58767b41f87244eebaa5a475b9d276c83b89b933, Linux 2402c9e2644b7e10c7aaaf87bf12743d7e363559, Linux 54a9cc5bd70b0d77a5069d4c46998c679a10c857, Linux 8bbef2b1ebfbadc0b9c37bbbf9c9e26fe2e41960, Linux 46cda…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98186 being exploited?

There is no confirmed exploitation: CVE-2026-98186 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98186?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98186?

Linux \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 77e642af7f2f6029e12a35c847c56cbd0466e799; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 982b8fcdbb28f63bbbf02f0822c0bbda12ec27ed; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 58767b41f87244eebaa5a475b9d276c83b89b933; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 2402c9e2644b7e10c7aaaf87bf12743d7e363559; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 54a9cc5bd70b0d77a5069d4c46998c679a10c857; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 8bbef2b1ebfbadc0b9c37bbbf9c9e26fe2e41960; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< 46cda9d42f0d6ec3057d878ddb1f38c0ab9f51df; \>= 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e, \< e667aee1c192d67d27c803007bfa9c6e0873e959; Linux 3.0.

### Is there a fix for CVE-2026-98186?

Yes. Fixed in Linux 77e642af7f2f6029e12a35c847c56cbd0466e799, Linux 982b8fcdbb28f63bbbf02f0822c0bbda12ec27ed, Linux 58767b41f87244eebaa5a475b9d276c83b89b933, Linux 2402c9e2644b7e10c7aaaf87bf12743d7e363559, Linux 54a9cc5bd70b0d77a5069d4c46998c679a10c857, Linux 8bbef2b1ebfbadc0b9c37bbbf9c9e26fe2e41960, Linux 46cda9d42f0d6ec3057d878ddb1f38c0ab9f51df. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98186?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/77e642af7f2f6029e12a35c847c56cbd0466e799>
- other: <https://git.kernel.org/stable/c/982b8fcdbb28f63bbbf02f0822c0bbda12ec27ed>
- other: <https://git.kernel.org/stable/c/58767b41f87244eebaa5a475b9d276c83b89b933>
- other: <https://git.kernel.org/stable/c/2402c9e2644b7e10c7aaaf87bf12743d7e363559>
- other: <https://git.kernel.org/stable/c/54a9cc5bd70b0d77a5069d4c46998c679a10c857>
- other: <https://git.kernel.org/stable/c/8bbef2b1ebfbadc0b9c37bbbf9c9e26fe2e41960>
- other: <https://git.kernel.org/stable/c/46cda9d42f0d6ec3057d878ddb1f38c0ab9f51df>
- other: <https://git.kernel.org/stable/c/e667aee1c192d67d27c803007bfa9c6e0873e959>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98186>

HTML: <https://flawdb.com/CVE-2026-98186> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98186>
