Skip to main content
CVE-2025-55297VulnerabilityPublished

CVE-2025-55297: espressif esp-idf · Classic Buffer Overflow

Affects espressif esp-idfSource CVE Database V5

0

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

CVSS 4.0 base score
5.2Medium
How severe the flaw is on the 0–10 CVSS scale.
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:U

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
espressif esp-idfAffected
  • <5.0.9
Fixed in
  • 5.0.9

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

Community reviews

Loading reviews…