CVE-2026-25532
ESF-IDF is Vulnerable to WPS Enrollee Fragment Integer Underflow
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running espressif esp-idf = 5.5.2; = 5.4.3; = 5.3.4; = 5.2.6; = 5.1.6
Vulnerability facts
- Affected
- espressif esp-idf = 5.5.2; = 5.4.3; = 5.3.4; = 5.2.6; = 5.1.6
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.3 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: High
- EPSS
- 0.39% chance of exploitation in 30 days (percentile 25, 2026-11-26)
- CWE
- CWE-191
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| espressif esp-idf | = 5.5.2; = 5.4.3; = 5.3.4; = 5.2.6; = 5.1.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-25532. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-25532.md Affected: espressif esp-idf = 5.5.2; = 5.4.3; = 5.3.4; = 5.2.6; = 5.1.6 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for espressif esp-idf: 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.
References
Patches
- https://github.com/espressif/esp-idf/commit/60f992a26de17bb5406f2149a2f8282dd7ad1c59
- https://github.com/espressif/esp-idf/commit/6f6766f917bc940ffbcc97eac4765a6ab15d5f79
- https://github.com/espressif/esp-idf/commit/73a587d42a57ece1962b6a4c530b574600650f63
- https://github.com/espressif/esp-idf/commit/b209fae993d795255827ce6b2b0d6942a377f5d4
- https://github.com/espressif/esp-idf/commit/b88befde6b5addcdd8d7373ce55c8052dea1e855
- https://github.com/espressif/esp-idf/commit/cad36beb4cde27abcf316cd90d8d8dddbc6f213a
- https://github.com/espressif/esp-idf/commit/de28801e8ea6a736b6f0db6fc0c682739363bb41
FAQ
Is CVE-2026-25532 being exploited?
There is no confirmed exploitation: CVE-2026-25532 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-25532?
Medium: CVSS 6.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-25532?
espressif esp-idf = 5.5.2; = 5.4.3; = 5.3.4; = 5.2.6; = 5.1.6.
Is there a fix for CVE-2026-25532?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-25532?
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.