# CVE-2026-25532: ESF-IDF is Vulnerable to WPS Enrollee Fragment Integer Underflow

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

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.39% (percentile 25, 2026-11-26)
- **CWE:** CWE-191
- **Published:** 2026-02-04T17:58:08.100Z
- **Modified:** 2026-06-17T10:24:48.313Z

## Who should check

- Anyone running espressif esp-idf = 5.5.2; = 5.4.3; = 5.3.4; = 5.2.6; = 5.1.6

## 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

- espressif esp-idf: = 5.5.2; = 5.4.3; = 5.3.4; = 5.2.6; = 5.1.6 (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-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.
```

## 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.

## References

- vendor: <https://github.com/espressif/esp-idf/security/advisories/GHSA-m2h2-683f-9mw7>
- patch: <https://github.com/espressif/esp-idf/commit/60f992a26de17bb5406f2149a2f8282dd7ad1c59>
- patch: <https://github.com/espressif/esp-idf/commit/6f6766f917bc940ffbcc97eac4765a6ab15d5f79>
- patch: <https://github.com/espressif/esp-idf/commit/73a587d42a57ece1962b6a4c530b574600650f63>
- patch: <https://github.com/espressif/esp-idf/commit/b209fae993d795255827ce6b2b0d6942a377f5d4>
- patch: <https://github.com/espressif/esp-idf/commit/b88befde6b5addcdd8d7373ce55c8052dea1e855>
- patch: <https://github.com/espressif/esp-idf/commit/cad36beb4cde27abcf316cd90d8d8dddbc6f213a>
- patch: <https://github.com/espressif/esp-idf/commit/de28801e8ea6a736b6f0db6fc0c682739363bb41>

## 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-25532>

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