CVE-2026-58374: CWE-193 Off-by-one Error in w1.fi hostapd
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.
AI Analysis
Technical Summary
The vulnerability in hostapd (CVE-2026-58374) arises from a missing bounds check in the function hostapd_process_ml_assoc_req() located in src/ap/ieee802_11_eht.c. Specifically, the received link_id field can be parsed as value 15, but the links[] array only supports indices 0 through 14, causing an out-of-bounds write and memory corruption during processing of a Multi-Link Operation association request. This occurs before the 4-way handshake and can be triggered by an unauthenticated attacker within wireless range by sending a crafted management frame with malformed Multi-Link Element or Per-STA Profile subelements. The confirmed impact is denial of service via hostapd process termination. This affects hostapd versions before 2.12 when built with CONFIG_IEEE80211BE enabled. The vulnerability is fixed in hostapd 2.12 and the upstream 2026-1 fixes.
Potential Impact
An unauthenticated attacker within wireless range can cause denial of service by triggering a crash of the hostapd process through crafted management frames exploiting an out-of-bounds write. There is no impact on confidentiality or integrity reported. No authentication or user interaction is required to exploit this vulnerability.
Mitigation Recommendations
A fix is available in hostapd version 2.12 and the upstream 2026-1 fixes. Users should upgrade to hostapd 2.12 or later to remediate this vulnerability. No other mitigation or temporary workaround is indicated by the vendor advisory.
CVE-2026-58374: CWE-193 Off-by-one Error in w1.fi hostapd
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.
CVSS v3.1
Score 6.5medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in hostapd (CVE-2026-58374) arises from a missing bounds check in the function hostapd_process_ml_assoc_req() located in src/ap/ieee802_11_eht.c. Specifically, the received link_id field can be parsed as value 15, but the links[] array only supports indices 0 through 14, causing an out-of-bounds write and memory corruption during processing of a Multi-Link Operation association request. This occurs before the 4-way handshake and can be triggered by an unauthenticated attacker within wireless range by sending a crafted management frame with malformed Multi-Link Element or Per-STA Profile subelements. The confirmed impact is denial of service via hostapd process termination. This affects hostapd versions before 2.12 when built with CONFIG_IEEE80211BE enabled. The vulnerability is fixed in hostapd 2.12 and the upstream 2026-1 fixes.
Potential Impact
An unauthenticated attacker within wireless range can cause denial of service by triggering a crash of the hostapd process through crafted management frames exploiting an out-of-bounds write. There is no impact on confidentiality or integrity reported. No authentication or user interaction is required to exploit this vulnerability.
Mitigation Recommendations
A fix is available in hostapd version 2.12 and the upstream 2026-1 fixes. Users should upgrade to hostapd 2.12 or later to remediate this vulnerability. No other mitigation or temporary workaround is indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-06-30T12:35:53.986Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a43c34a27e9c79719d5be1f
Added to database: 06/30/2026, 13:23:22 UTC
Last enriched: 06/30/2026, 13:37:09 UTC
Last updated: 06/30/2026, 14:13:18 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.