CVE-2025-52471: ESP-NOW Integer Underflow Vulnerability Advisory

Published Jun 24, 2025
·
Updated

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 datalen parameter received in the RX callback (registered via espnowregisterrecvcb()) 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.

Affected Software

5 affected components
Espressif ESP-IDF=5.4.1, =5.3.3, =5.2.5, =5.1.6
Espressif ESP-IDF=5.1.6
Espressif ESP-IDF=5.2.5
Espressif ESP-IDF=5.3.3
Espressif ESP-IDF=5.4.1

Event History

Jun 24, 2025
CVE Published
via MITRE·07:53 PM
Data Sourced
via MITRE·07:53 PM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-52471?

The severity of CVE-2025-52471 is currently classified as high due to potential exploitation risks.

2

How do I fix CVE-2025-52471?

To fix CVE-2025-52471, update to a patched version of the ESP-IDF framework beyond version 5.4.1, 5.3.3, 5.2.5, or 5.1.6.

3

What products are affected by CVE-2025-52471?

CVE-2025-52471 affects Espressif's ESP-IDF versions 5.4.1, 5.3.3, 5.2.5, and 5.1.6.

4

What type of vulnerability is CVE-2025-52471?

CVE-2025-52471 is identified as an integer underflow vulnerability within the ESP-NOW protocol implementation.

5

What is the potential impact of exploiting CVE-2025-52471?

Exploiting CVE-2025-52471 could lead to unauthorized access or denial of service on devices using the affected ESP-IDF versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203