Buffer overflow in Espressif Esp-Idf
CVE-2025-55297
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.003 (25.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 25th percentile — 25.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Espressif Esp-Idf — versions < 5.0.9, >= 5.1-beta1, < 5.1.6, >= 5.2-beta1, < 5.3.3
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/espressif/esp-idf/security/advisories/GHSA-9w88-r2vm-qfc4 (Vendor Advisory)
- github.com/espressif/esp-idf/commit/12b7a9e6d78012ab9184b7ccdb5524364bf7e345 (Patch)
- github.com/espressif/esp-idf/commit/3fc6c93936077cb1659e1f0e0268e62cf6423e9d (Patch)
- github.com/espressif/esp-idf/commit/5f93ec3b11b6115475c34de57093b3672d594e8f (Patch)
- github.com/espressif/esp-idf/commit/9cb7206d4ae8fd8f4296cd57d6c78a1656f42efa (Patch)
- github.com/espressif/esp-idf/commit/abc18e93eb3500dbec74c3e589671ef82c8b3919 (Patch)
- github.com/espressif/esp-idf/commit/b1657d9dd4d0e48ed25e02cb8fe8413f479a2a84 (Patch)
- github.com/espressif/esp-idf/commit/bf50c0c197af30990026c8f8286298d2aa5a3c99 (Patch)
- github.com/espressif/esp-idf/commit/cb6929a2e6f2ff130b742332dc15eb23006c7cc9 (Patch)
- github.com/espressif/esp-idf/commit/cc00e9f2fc4f7e8fbaff27851b4a8b45fa483501 (Patch)
Frequently asked questions
- What is CVE-2025-55297?
- CVE-2025-55297 is a high-severity vulnerability in Espressif Esp-Idf, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 8.8/10. Published 2025-08-21.
- How severe is CVE-2025-55297?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2025-55297 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.