CVE-2026-25532 Details
Description
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.5.2, 5.4.3, 5.3.4, 5.2.6, and 5.1.6, a vulnerability exists in the WPS (Wi-Fi Protected Setup) Enrollee implementation where malformed EAP-WSC packets with truncated payloads can cause integer underflow during fragment length calculation. When processing EAP-Expanded (WSC) messages, the code computes frag_len by subtracting header sizes from the total packet length. If an attacker sends a packet where the EAP Length field covers only the header and flags but omits the expected payload (such as the 2-byte Message Length field when WPS_MSG_FLAG_LEN is set), frag_len becomes negative. This negative value is then implicitly cast to size_t when passed to wpabuf_put_data(), resulting in a very large unsigned value. This issue has been patched in versions 5.5.3, 5.4.4, 5.3.5, 5.2.7, and 5.1.7.
A vulnerability in the WPS (Wi-Fi Protected Setup) Enrollee implementation of the Espressif Internet of Things Development Framework has been identified. In versions 5.5.2, 5.4.3, 5.3.4, 5.2.5, and 5.1.6, malformed EAP-WSC packets with truncated payloads can cause an integer underflow during fragment length calculation. This underflow occurs when the EAP Length field does not include the expected payload, leading to a negative fragment length that is improperly cast to a large unsigned value. The issue can be exploited to create a heap buffer overflow, memory corruption, and potentially allow arbitrary code execution. Additionally, in the non-fragmented code path, the vulnerability can cause memory exhaustion and a device reset by triggering a large memory allocation that overwhelms system resources.
The vulnerability has been patched in Espressif ESP-IDF versions 5.5.3, 5.4.4, 5.3.5, 5.2.6, and 5.1.7. Users should update to one of these versions to address the vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-191 | Integer Underflow (Wrap or Wraparound) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| espressif esp-idf | 5.1.6 5.2.6 5.3.4 5.4.3 5.5.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 20, 2026 | Initial Analysis | [email protected] |
| Feb 4, 2026 | New CVE Received | [email protected] |