Description
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.
Affected products
espressif: esp-idf
References7
- github.com/espressif/esp-idf/security/advisories/GHSA-43gh-7r4f… Vendor Advisory
- github.com/espressif/esp-idf/commit/0b0b59f2e19cb99dfa1b28c284d… Patch
- github.com/espressif/esp-idf/commit/565fa98d0cfd58102204c1cb636… Patch
- github.com/espressif/esp-idf/commit/8262ee807d5cd425f66304f703e… Patch
- github.com/espressif/esp-idf/commit/a6c1bc5e3e91ad1cb964ce2c178… Patch
- github.com/espressif/esp-idf/commit/aa0e3d75db995b7137b55349fc9… Patch
- github.com/espressif/esp-idf/commit/b9ba1e29b65536ab4b670ac0995… Patch
Metrics
- CVSS 3.1
-
7.6
HIGH
Score source: NVD
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H - CVSS 4.0
-
6.1
MEDIUM
Score source: CNA
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 25 · as of 11 November 2026
- CWE
- CWE-787
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.