ESF-IDF Has Out-of-Bounds Write in ESP32 Bluetooth AVRCP Vendor Command Handling
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| espressif | esp-idf | 5.5-beta1 – 5.5.1; 5.4-beta1 – 5.4.3; 5.3-beta1 – 5.3.4; 5.2-beta1 – 5.2.6; up to 5.1.6 | — | No fix listed | CNA |
- esp-idf Vendorespressif Affected 5.5-beta1 – 5.5.1; 5.4-beta1 – 5.4.3; 5.3-beta1 – 5.3.4; 5.2-beta1 – 5.2.6; up to 5.1.6 Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:espressif:esp-idf:5.1.6:*:*:*:*:*:*:* | 5.1.6 | Vulnerable | espressif |
| cpe:2.3:a:espressif:esp-idf:5.2.6:*:*:*:*:*:*:* | 5.2.6 | Vulnerable | espressif |
| cpe:2.3:a:espressif:esp-idf:5.3.4:*:*:*:*:*:*:* | 5.3.4 | Vulnerable | espressif |
| cpe:2.3:a:espressif:esp-idf:5.4.3:*:*:*:*:*:*:* | 5.4.3 | Vulnerable | espressif |
| cpe:2.3:a:espressif:esp-idf:5.5.1:*:*:*:*:*:*:* | 5.5.1 | Vulnerable | espressif |
- cpe:2.3:a:espressif:esp-idf:5.1.6:*:*:*:*:*:*:* Versions 5.1.6 Vulnerable ·espressif
- cpe:2.3:a:espressif:esp-idf:5.2.6:*:*:*:*:*:*:* Versions 5.2.6 Vulnerable ·espressif
- cpe:2.3:a:espressif:esp-idf:5.3.4:*:*:*:*:*:*:* Versions 5.3.4 Vulnerable ·espressif
- cpe:2.3:a:espressif:esp-idf:5.4.3:*:*:*:*:*:*:* Versions 5.4.3 Vulnerable ·espressif
- cpe:2.3:a:espressif:esp-idf:5.5.1:*:*:*:*:*:*:* Versions 5.5.1 Vulnerable ·espressif
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-68474
References
Patch 6
- https://github.com/espressif/esp-idf/commit/0b0b59f2e19cb99dfa1b28c284d1c5c1d276a132
- https://github.com/espressif/esp-idf/commit/565fa98d0cfd58102204c1cb636747e17ee59845
- https://github.com/espressif/esp-idf/commit/8262ee807d5cd425f66304f703eeb3382fb888c0
- https://github.com/espressif/esp-idf/commit/a6c1bc5e3e91ad1cb964ce2c178ee40a5d10a4a0
- https://github.com/espressif/esp-idf/commit/aa0e3d75db995b7137b55349fc92ee684b47092d
- https://github.com/espressif/esp-idf/commit/b9ba1e29b65536ab4b670ac099585d09adce0376
More espressif Esp-idf vulnerabilities
- TI-2024-22076 Buffer Overflow vulnerability in esp-idf v.5.1 allows a remote attacker to execute… CVSS 3.1MEDIUM 6.5
- TI-2026-33125 ESF-IDF: Out-of-Bounds Write in ESP-TEE Secure Service Wrappers CVSS 3.1CRITICAL 9.3
- TI-2025-32598 ESP-NOW Integer Underflow Vulnerability Advisory CVSS 4.0HIGH 7.2
- TI-2022-08703 Espressif Bluetooth Mesh Stack Vulnerable to Out-of-bounds Write leading to memory buffer corruption CVSS 3.1HIGH 8.8
- TI-2021-09371 The Bluetooth Classic implementation in Espressif ESP-IDF 4.4 and earlier does not… CVSS 3.1HIGH 8.8
- TI-2026-33292 ESF-IDF: Remote Null Pointer Dereference in WebSocket Server CVSS 3.1HIGH 7.5
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences