ESF-IDF has an Out-of-Bounds Read in ESP32 Bluetooth AVRCP Command Handling
espressif esp-idf
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| espressif esp-idf |
| No fix yet |
Original description
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In 5.5.1, 5.4.3, 5.3.4, 5.2.6, 5.1.6, and earlier, when AVRCP is enabled on ESP32, receiving a malformed VENDOR DEPENDENT command from a peer device can cause the Bluetooth stack to access memory before validating the command buffer length. This may lead to an out-of-bounds read, potentially exposing unintended memory content or causing unexpected behavior.