CVE-2025-55297: espressif esp-idf · Classic Buffer Overflow
Affects espressif esp-idfSource CVE Database V5
Not known to be exploited · CVSS 5.2 Medium : upgrade to 5.0.9 when convenient.
Data as of 26 Oct 2026, 07:57 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.0.9
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:UExploitation evidence
Disclosed: evidence found.
CVE published 21 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade espressif esp-idf to 5.0.9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| espressif esp-idf | Affected
| Fixed in
|
AI-suggested
European organizations should prioritize upgrading ESP-IDF to the fixed versions 5.4.1, 5.3.3, 5.1.6, or 5.0.9 as applicable to their deployment. For devices where immediate firmware updates are not feasible, network segmentation should be enforced to isolate vulnerable IoT devices from critical network segments and limit Bluetooth and Wi-Fi access to trusted sources only. Implement strict access controls and monitoring for anomalous Bluetooth and Wi-Fi provisioning activities. Employ runtime protections such as stack canaries and address space layout randomization (ASLR) where supported by the device firmware. Conduct thorough code audits and fuzz testing on custom implementations of Wi-Fi credential handling and cryptographic key exchanges to detect similar buffer overflow issues. Additionally, maintain an inventory of Espressif-based devices to assess exposure and prioritize patching. Collaborate with device vendors to ensure timely firmware updates and validate that patches address the vulnerability comprehensively. Finally, integrate this vulnerability into vulnerability management and incident response plans to enable rapid detection and remediation.
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.
References
- github.com/espressif/esp-idf/security/advisories/GHSA-9w88-r2vm-qfc4 (opens in a new tab)
- github.com/espressif/esp-idf/commit/12b7a9e6d78012ab9184b7ccdb5524364bf7e345 (opens in a new tab)
- github.com/espressif/esp-idf/commit/3fc6c93936077cb1659e1f0e0268e62cf6423e9d (opens in a new tab)
- github.com/espressif/esp-idf/commit/5f93ec3b11b6115475c34de57093b3672d594e8f (opens in a new tab)
- github.com/espressif/esp-idf/commit/9cb7206d4ae8fd8f4296cd57d6c78a1656f42efa (opens in a new tab)
- github.com/espressif/esp-idf/commit/abc18e93eb3500dbec74c3e589671ef82c8b3919 (opens in a new tab)
- github.com/espressif/esp-idf/commit/b1657d9dd4d0e48ed25e02cb8fe8413f479a2a84 (opens in a new tab)
- github.com/espressif/esp-idf/commit/bf50c0c197af30990026c8f8286298d2aa5a3c99 (opens in a new tab)
- github.com/espressif/esp-idf/commit/cb6929a2e6f2ff130b742332dc15eb23006c7cc9 (opens in a new tab)
- github.com/espressif/esp-idf/commit/cc00e9f2fc4f7e8fbaff27851b4a8b45fa483501 (opens in a new tab)
- github.com/espressif/esp-idf/commit/e65cf7ea2a2be52219ec9d4efc44aed5e490e91c (opens in a new tab)
- github.com/espressif/esp-idf/commit/f40aa9c587a8e570dfde2e6330382dcd170d5a5d (opens in a new tab)
- github.com/espressif/esp-idf/commit/f77da0d5b5382635c99e6708551b73802ad1213d (opens in a new tab)