CVE-2025-52471 in Espressif Esp-Idf
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. An integer underflow vulnerability has been identified in the ESP-NOW protocol implementation within the ESP Wi-Fi component of versions 5.4.1, 5.3.3, 5.2.5, and 5.1.6 of the ESP-IDF framework. This issue stems from insufficient validation of u...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Espressif | Esp-Idf | 5.1.6 5.2.5 5.3.3 5.4.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. An integer underflow vulnerability has been identified in the ESP-NOW protocol implementation within the ESP Wi-Fi component of versions 5.4.1, 5.3.3, 5.2.5, and 5.1.6 of the ESP-IDF framework. This issue stems from insufficient validation of user-supplied data length in the packet receive function. Under certain conditions, this may lead to out-of-bounds memory access and may allow arbitrary memory write operations. On systems without a memory protection scheme, this behavior could potentially be used to achieve remote code execution (RCE) on the target device. In versions 5.4.2, 5.3.4, 5.2.6, and 5.1.6, ESP-NOW has added more comprehensive validation logic on user-supplied data length during packet reception to prevent integer underflow caused by negative value calculations. For ESP-IDF v5.3 and earlier, a workaround can be applied by validating that the `data_len` parameter received in the RX callback (registered via `esp_now_register_recv_cb()`) is a positive value before further processing. For ESP-IDF v5.4 and later, no application-level workaround is available. Users are advised to upgrade to a patched version of ESP-IDF to take advantage of the built-in mitigation.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-52471 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-262304-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-06-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-191: CWE-191
Analysis AI-written, not human-reviewed
An integer underflow vulnerability has been identified in the ESP-NOW protocol implementation within the ESP Wi-Fi component of specific versions of the ESP-IDF framework. This issue arises from insufficient validation of user-supplied data length in the packet receive function, potentially allowing for unauthorized access or denial of service.
The vulnerability can be exploited by sending specially crafted packets to devices using the affected versions of ESP-IDF. The insufficient validation of packet data length can lead to an integer underflow, which may be leveraged to execute arbitrary code or cause the device to crash.
Questions
What is CVE-2025-52471?
An integer underflow vulnerability has been identified in the ESP-NOW protocol implementation within the ESP Wi-Fi component of specific versions of the ESP-IDF framework. This issue arises from insufficient validation of user-supplied data length in the packet receive function, potentially allowing for unauthorized access or denial of service.
What is the CVSS score for CVE-2025-52471?
CVE-2025-52471 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 2.1%.
Is CVE-2025-52471 actively exploited?
No confirmed active exploitation of CVE-2025-52471 as of 2026-09-25.
How do I remediate CVE-2025-52471?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2025-52471?
CVE-2025-52471 affects Espressif Esp-Idf.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Espressif","product":"Esp-Idf","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.