CVE Catalog

CVE-2025-68474

HighCVSS 7.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.32%

22th percentile - higher than 22% of all known CVEs

Summary

In ESP-IDF versions 5.5.1, 5.4.3, 5.3.4, 5.2.6, 5.1.6 and earlier, in the avrc_vendor_msg() function of the BlueDroid AVRCP stack, the allocated buffer size was validated using AVRC_MIN_CMD_LEN (20 bytes), but the actual fixed header data written before the vendor payload exceeds this value (totaling 29 bytes). This could allow an out-of-bounds write if vendor_len approaches the buffer limit, leading to memory corruption, crashes, or other undefined behavior.

Risk Assessment

The vulnerability could lead to remote memory corruption, potentially resulting in device crashes or attacker-controlled code execution.

Recommendation

Update ESP-IDF to a patched version (e.g., 5.5.2 or later). If not possible, consider disabling AVRCP functionality or restricting access to Bluetooth devices.

Other vulnerabilities in ESP-IDF

See all
Original NVD description (English source)

ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.5.1, 5.4.3, 5.3.4, 5.2.6, 5.1.6, and earlier, in the avrc_vendor_msg() function of the ESP-IDF BlueDroid AVRCP stack, the allocated buffer size was validated using AVRC_MIN_CMD_LEN (20 bytes). However, the actual fixed header data written before the vendor payload exceeds this value. This totals 29 bytes written before p_msg->p_vendor_data is copied. Using the old AVRC_MIN_CMD_LEN could allow an out-of-bounds write if vendor_len approaches the buffer limit. For commands where vendor_len is large, the original buffer allocation may be insufficient, causing writes beyond the allocated memory. This can lead to memory corruption, crashes, or other undefined behavior. The overflow could be larger when assertions are disabled.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS