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.
References
Configurations
Configuration 1 (hide)
|
History
07 Oct 2026, 13:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary | (es) ESF-IDF es el Framework de Desarrollo de Internet de las Cosas (IoT) de Espressif. En las versiones 5.5.1, 5.4.3, 5.3.4, 5.2.6, 5.1.6 y anteriores, en la función avrc_vendor_msg() de la pila BlueDroid AVRCP de ESP-IDF, el tamaño del búfer asignado fue validado usando AVRC_MIN_CMD_LEN (20 bytes). Sin embargo, los datos reales del encabezado fijo escritos antes de la carga útil del proveedor exceden este valor. Esto suma 29 bytes escritos antes de que se copie p_msg -> p_vendor_data. Usar el antiguo AVRC_MIN_CMD_LEN podría permitir una escritura fuera de límites si vendor_len se acerca al límite del búfer. Para comandos donde vendor_len es grande, la asignación original del búfer puede ser insuficiente, causando escrituras más allá de la memoria asignada. Esto puede llevar a corrupción de memoria, fallos u otro comportamiento indefinido. El desbordamiento podría ser mayor cuando las aserciones están deshabilitadas. |
05 Oct 2026, 19:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
Information
Published : 2025-12-27 00:15
Updated : 2026-10-07 13:10
NVD link : CVE-2025-68474
Mitre link : CVE-2025-68474
CVE.ORG link : CVE-2025-68474
JSON object : View
Products Affected
espressif
- esp-idf
CWE
CWE-787
Out-of-bounds Write
