Espressif ESP-IDF up to 5.0.8/5.1.5/5.3.2/5.4.0 buffer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.6 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in Espressif ESP-IDF up to 5.0.8/5.1.5/5.3.2/5.4.0. Affected by this vulnerability is an unknown functionality. This manipulation causes buffer overflow. This vulnerability is tracked as CVE-2025-55297. The attack is only possible within the local network. No exploit exists. It is suggested to upgrade the affected component.
Details
A vulnerability was found in Espressif ESP-IDF up to 5.0.8/5.1.5/5.3.2/5.4.0. It has been declared as critical. Affected by this vulnerability is an unknown code. The manipulation with an unknown input leads to a buffer overflow vulnerability. The CWE definition for the vulnerability is CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
It is possible to read the advisory at github.com. This vulnerability is known as CVE-2025-55297 since 08/12/2025. The exploitation appears to be easy. The attack needs to be initiated within the local network. The exploitation doesn't need any form of authentication. The technical details are unknown and an exploit is not publicly available.
Upgrading to version 5.0.9, 5.1.6, 5.3.3 or 5.4.1 eliminates this vulnerability. Applying the patch 12b7a9e6d78012ab9184b7ccdb5524364bf7e345 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2025-25514). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Vendor
Name
Version
- 5.0
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.0.6
- 5.0.7
- 5.0.8
- 5.1
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.2
- 5.3
- 5.3.0
- 5.3.1
- 5.3.2
- 5.4.0
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 8.8VulDB Meta Temp Score: 8.6
VulDB Base Score: 8.8
VulDB Temp Score: 8.4
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Buffer overflowCWE: CWE-120 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: ESP-IDF 5.0.9/5.1.6/5.3.3/5.4.1
Patch: 12b7a9e6d78012ab9184b7ccdb5524364bf7e345
Timeline
08/12/2025 CVE reserved08/21/2025 Advisory disclosed
08/21/2025 VulDB entry created
01/22/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-9w88-r2vm-qfc4
Status: Confirmed
CVE: CVE-2025-55297 (🔒)
GCVE (CVE): GCVE-0-2025-55297
GCVE (VulDB): GCVE-100-320947
EUVD: 🔒
Entry
Created: 08/21/2025 19:28Updated: 01/22/2026 17:19
Changes: 08/21/2025 19:28 (70), 08/22/2025 15:20 (1), 01/22/2026 17:19 (12)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.