# CVE-2025-68474: ESF-IDF Has Out-of-Bounds Write in ESP32 Bluetooth AVRCP Vendor Command Handling

- Severity: Medium 6.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2025-12-26T23:57:54.853Z
- Modified: 2026-10-07T13:10:00.713Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 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; <= 5.1.6; 5.1.6; 5.2.6; 5.3.4; 5.4.3; 5.5.1

## Every score

- GitHub_M: CVSS:4.0 6.1 Medium `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`
- NVD: CVSS:3.1 7.6 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`

## References

- <https://github.com/espressif/esp-idf/security/advisories/GHSA-43gh-7r4f-qp57> (vendor-advisory)
- <https://github.com/espressif/esp-idf/commit/0b0b59f2e19cb99dfa1b28c284d1c5c1d276a132> (patch)
- <https://github.com/espressif/esp-idf/commit/565fa98d0cfd58102204c1cb636747e17ee59845> (patch)
- <https://github.com/espressif/esp-idf/commit/8262ee807d5cd425f66304f703eeb3382fb888c0> (patch)
- <https://github.com/espressif/esp-idf/commit/a6c1bc5e3e91ad1cb964ce2c178ee40a5d10a4a0> (patch)
- <https://github.com/espressif/esp-idf/commit/aa0e3d75db995b7137b55349fc92ee684b47092d> (patch)
- <https://github.com/espressif/esp-idf/commit/b9ba1e29b65536ab4b670ac099585d09adce0376> (patch)

## Sources

- CVE List: [CVE-2025-68474](https://www.cve.org/CVERecord?id=CVE-2025-68474), CVE Terms of Use, modified 2025-12-29
- NVD: [CVE-2025-68474](https://nvd.nist.gov/vuln/detail/CVE-2025-68474), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-68474 · Whole record: https://cve.day/CVE-2025-68474.json · Rebuilt by cve.day 2026-11-25T22:59:09.957Z
