Integer underflow in ESP-IDF - CVE-2025-52471

 

Integer underflow in ESP-IDF - CVE-2025-52471

Published: July 16, 2025 / Updated: December 26, 2025


Vulnerability identifier: #VU113002
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-52471
CWE-ID: CWE-191
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Espressif Systems
Affected software:
ESP-IDF

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer underflow in the ESP-NOW protocol implementation within the ESP Wi-Fi component. A remote attacker can send a specially crafted request to the affected application, trigger integer underflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2025-52471

Install update from vendor's website.

Sources