# CVE-2025-55297: ESF-IDF BluFi Example Memory Overflow Vulnerability

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

- **Severity:** MEDIUM 5.2
- **CVSS:** 5.2 (v4.0, CNA) `CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Unreported
- **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.64% (percentile 46, 2026-11-28)
- **CWE:** CWE-120, CWE-131
- **Published:** 2025-08-21T15:05:06.805Z
- **Modified:** 2026-06-17T09:41:36.367Z

## Who should check

- Anyone running espressif esp-idf \< 5.0.9; \>= 5.1-beta1, \< 5.1.6; \>= 5.2-beta1, \< 5.3.3; \>= 5.4-beta1, \< 5.4.1

## Description

ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. The BluFi example bundled in ESP-IDF was vulnerable to memory overflows in two areas: Wi-Fi credential handling and Diffie–Hellman key exchange. This vulnerability is fixed in 5.4.1, 5.3.3, 5.1.6, and 5.0.9.

## Affected and fixed versions

- espressif esp-idf: \< 5.0.9; \>= 5.1-beta1, \< 5.1.6; \>= 5.2-beta1, \< 5.3.3; \>= 5.4-beta1, \< 5.4.1 (cvelist)

## Mitigation

- Upgrade esp-idf to 5.4.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-55297. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-55297.md
Affected: espressif esp-idf < 5.0.9; >= 5.1-beta1, < 5.1.6; >= 5.2-beta1, < 5.3.3; >= 5.4-beta1, < 5.4.1
Fixed in: espressif esp-idf 5.0.9, espressif esp-idf 5.1.6, espressif esp-idf 5.3.3, espressif esp-idf 5.4.1

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-2025-55297 being exploited?

There is no confirmed exploitation: CVE-2025-55297 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.64% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-55297?

Medium: CVSS 5.2 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-55297?

espressif esp-idf \< 5.0.9; \>= 5.1-beta1, \< 5.1.6; \>= 5.2-beta1, \< 5.3.3; \>= 5.4-beta1, \< 5.4.1.

### Is there a fix for CVE-2025-55297?

Yes. Fixed in espressif esp-idf 5.0.9, espressif esp-idf 5.1.6, espressif esp-idf 5.3.3, espressif esp-idf 5.4.1. Upgrade esp-idf to 5.4.1 or later.

### How do I check if I'm affected by CVE-2025-55297?

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-9w88-r2vm-qfc4>
- patch: <https://github.com/espressif/esp-idf/commit/12b7a9e6d78012ab9184b7ccdb5524364bf7e345>
- patch: <https://github.com/espressif/esp-idf/commit/3fc6c93936077cb1659e1f0e0268e62cf6423e9d>
- patch: <https://github.com/espressif/esp-idf/commit/5f93ec3b11b6115475c34de57093b3672d594e8f>
- patch: <https://github.com/espressif/esp-idf/commit/9cb7206d4ae8fd8f4296cd57d6c78a1656f42efa>
- patch: <https://github.com/espressif/esp-idf/commit/abc18e93eb3500dbec74c3e589671ef82c8b3919>
- patch: <https://github.com/espressif/esp-idf/commit/b1657d9dd4d0e48ed25e02cb8fe8413f479a2a84>
- patch: <https://github.com/espressif/esp-idf/commit/bf50c0c197af30990026c8f8286298d2aa5a3c99>
- patch: <https://github.com/espressif/esp-idf/commit/cb6929a2e6f2ff130b742332dc15eb23006c7cc9>
- patch: <https://github.com/espressif/esp-idf/commit/cc00e9f2fc4f7e8fbaff27851b4a8b45fa483501>
- patch: <https://github.com/espressif/esp-idf/commit/e65cf7ea2a2be52219ec9d4efc44aed5e490e91c>
- patch: <https://github.com/espressif/esp-idf/commit/f40aa9c587a8e570dfde2e6330382dcd170d5a5d>
- patch: <https://github.com/espressif/esp-idf/commit/f77da0d5b5382635c99e6708551b73802ad1213d>

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

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