Home / espressif / esp-idf / CVE-2025-52471
CVE-2025-52471: is it exploited, and which versions of espressif esp-idf are affected and fixed?
CVE-2025-52471 is an integer underflow vulnerability in espressif esp-idf. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: esp-idf = 5.4.1, esp-idf = 5.3.3, esp-idf = 5.2.5 and 1 more (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.2, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2025-52471?
ESP-NOW Integer Underflow Vulnerability Advisory
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.
From the CVE record by GitHub_M, last updated June 24, 2025, 20:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| espressif | esp-idf | = 5.4.1 = 5.3.3 = 5.2.5 = 5.1.6 |
As the CVE record by GitHub_M states it, last updated June 24, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| espressif | esp-idf | 5.1.6 | application |
| espressif | esp-idf | 5.2.5 | application |
| espressif | esp-idf | 5.3.3 | application |
| espressif | esp-idf | 5.4.1 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:36 UTC.
How severe is CVE-2025-52471?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.2 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U | GitHub_M |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-52471 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, June 24, 2025)
- EPSS
- 0.98% probability of exploitation activity in the next 30 days, percentile 63.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-191 Integer Underflow (Wrap or Wraparound)
Where are the vendor advisories and references?
- https://github.com/espressif/esp-idf/security/advisories/GHSA-hqhh-cp47-fv5g x_refsource_CONFIRM
- https://github.com/espressif/esp-idf/commit/b1a379d57430d265a53aca13d59ddfbf2e7ac409 x_refsource_MISC
- https://github.com/espressif/esp-idf/commit/c5fc81917805f99e687c81cc56b68dc5df7ef8b5 x_refsource_MISC
- https://github.com/espressif/esp-idf/commit/d4dafbdc3572387cd4f9a62b776580bc4ac3bde7 x_refsource_MISC
- https://github.com/espressif/esp-idf/commit/d6ec5a52255b17c1d6ef379e89f9de2c379042f8 x_refsource_MISC
- https://github.com/espressif/esp-idf/commit/df7757d8279871fa7a2f42ef3962c6c1ec88b8a2 x_refsource_MISC
- https://github.com/espressif/esp-idf/commit/edc227c5eaeced999b5212943a9434379f8aad80 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 17, 2025
- Published
- June 24, 2025, 19:53 UTC
- CVE record updated
- June 24, 2025, 20:02 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 09:36 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect esp-idf?
- Nov 17, 2026CVE-2026-113781 espressif esp-idf: signed to Unsigned Conversion Error
- Nov 4, 2026CVE-2026-113780 espressif esp-idf: out-of-bounds write (memory corruption)
- Nov 4, 2026CVE-2026-113783 espressif esp-idf: stack buffer overflow
- Nov 4, 2026CVE-2026-113782 espressif esp-idf: stack buffer overflow
- Oct 13, 2026CVE-2026-81507 espressif esp-idf: out-of-bounds read
- Sep 24, 2026CVE-2026-81508 espressif esp-idf: out-of-bounds read
- Jul 10, 2026CVE-2026-55687 espressif esp-idf: stack buffer overflow
- Jun 10, 2026CVE-2026-46532 espressif esp-idf: out-of-bounds read
Questions about CVE-2025-52471
Is CVE-2025-52471 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.98% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of espressif esp-idf are affected by CVE-2025-52471?
esp-idf = 5.4.1, esp-idf = 5.3.3, esp-idf = 5.2.5 and esp-idf = 5.1.6, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-52471?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-52471?
High (7.2, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-52471?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.