# CVE-2026-58374: Memory corruption in hostapd

> An unauthenticated attacker within wireless range can cause a denial of service by sending a crafted Wi-Fi 7 management frame that triggers an out-of-bounds write in hostapd.

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 30 Jun 2026
- **Updated:** 30 Jun 2026
- **Also known as:** ALSA-2026:85276, ALSA-2026:85277, CLSA-2026-1784037722, GHSA-f38w-mwf7-vv8p, RHSA-2026:85276, RHSA-2026:85277, RLSA-2026:85276, RLSA-2026:85277, SUSE-SU-2026:22851-1, SUSE-SU-2026:22931-1, openSUSE-SU-2026:11253-1, openSUSE-SU-2026:11278-1, openSUSE-SU-2026:21360-1, openSUSE-SU-2026:21415-1

## What is CVE-2026-58374?

CVE-2026-58374 is a medium-severity memory corruption vulnerability in w1.fi hostapd, published on 30 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

In hostapd before 2.12, a missing bounds check in AP-mode Wi-Fi 7 (IEEE 802.11be) Multi-Link Operation (MLO) association request processing allows an unauthenticated attacker within wireless range to send a crafted management frame containing a malformed Multi-Link Element or Per-STA Profile subelement. In hostapd_process_ml_assoc_req() in src/ap/ieee802_11_eht.c, the received link_id field can be parsed as value 15, but the corresponding links[] storage only has valid entries for lower link IDs (0 through 14). This causes an out-of-bounds write / small memory corruption during association processing before the 4-way handshake. The attack does not require network credentials, prior authentication, or user interaction. The confirmed practical impact is denial of service through hostapd process termination. This affects hostapd v2.11 and newer development snapshots before v2.12 when built with CONFIG_IEEE80211BE enabled. The issue is fixed in hostapd v2.12 and the upstream 2026-1 fixes.

Weakness: CWE-193 (Off-by-one Error)

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

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `hostapd` | AlmaLinux:10 | All versions | 2.11-3.el10_2 |
| `hostapd` | AlmaLinux:9 | All versions | 2.11-3.el9_8 |
| `hostapd` | Red Hat:enterprise_linux:10.2 | All versions | 0:2.11-3.el10_2 |
| `hostapd-debuginfo` | Red Hat:enterprise_linux:10.2 | All versions | 0:2.11-3.el10_2 |
| `hostapd-debugsource` | Red Hat:enterprise_linux:10.2 | All versions | 0:2.11-3.el10_2 |
| `hostapd` | Red Hat:enterprise_linux:9::appstream | All versions | 0:2.11-3.el9_8 |
| `hostapd-debuginfo` | Red Hat:enterprise_linux:9::appstream | All versions | 0:2.11-3.el9_8 |
| `hostapd-debugsource` | Red Hat:enterprise_linux:9::appstream | All versions | 0:2.11-3.el9_8 |
| `hostapd` | Rocky Linux:10 | All versions | 0:2.11-3.el10_2 |
| `hostapd` | Rocky Linux:9 | All versions | 0:2.11-3.el9_8 |
| `wpa_supplicant` | SUSE:Linux Enterprise Server 16.0 | All versions | 2.11-160000.4.1 |
| `wpa_supplicant` | SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 2.11-160000.4.1 |
| `wpa_supplicant` | SUSE:Linux Micro 6.2 | All versions | 2.11-160000.4.1 |
| `hostapd` | openSUSE:Leap 16.0 | All versions | 2.11-bp160.3.1 |
| `wpa_supplicant` | openSUSE:Leap 16.0 | All versions | 2.11-160000.4.1 |
| `hostapd` | openSUSE:Tumbleweed | All versions | 2.11-4.1 |
| `wpa_supplicant` | openSUSE:Tumbleweed | All versions | 2.11-7.1 |

Products: W1.fi Hostapd.

## How do I fix CVE-2026-58374?

Upgrade to a fixed version.

## Is CVE-2026-58374 being exploited?

There is no known exploitation of CVE-2026-58374 in the wild and no public exploit code.

## Other vulnerabilities in w1.fi hostapd

- [CVE-2016-10743](https://insights.sbomify.com/CVE-2016-10743/): Weak cryptography in n/a (high 7.5)
- [CVE-2019-5061](https://insights.sbomify.com/CVE-2019-5061/): Denial of service in W1.f1 (high 7.4)
- [CVE-2019-5062](https://insights.sbomify.com/CVE-2019-5062/): Denial of service in W1.f1 (high 7.4)
- [CVE-2022-37660](https://insights.sbomify.com/CVE-2022-37660/): Other in n/a (medium 6.5)
- [CVE-2019-11555](https://insights.sbomify.com/CVE-2019-11555/): Null dereference in n/a (medium 5.9)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-58374 and fix it if it is affected.

What it is: CVE-2026-58374 is a medium-severity memory corruption vulnerability in w1.fi hostapd, published on 30 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-58374 in the wild and no public exploit code.

Affected product: w1.fi hostapd. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-58374/ (Markdown: https://insights.sbomify.com/CVE-2026-58374/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-58374
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-58374
- OSV: https://osv.dev/vulnerability/CVE-2026-58374

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-58374/
Summaries are generated and may contain mistakes; the official description above is the record.
