---
id: CVE-2025-68474
title: ESF-IDF is the Espressif Internet of Things (IOT) Development Framework
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 va…
severity: high
cvss: 7.6
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H'
cwe:
  - CWE-787
vendor: espressif
product: esp-idf
affected:
  - esp-idf = 5.1.6
  - esp-idf = 5.2.6
  - esp-idf = 5.3.4
  - esp-idf = 5.4.3
  - esp-idf = 5.5.1
published: '2025-12-27'
updated: '2026-10-05'
sourceUpdated: '2026-10-05T19:10:00.210'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68474'
references:
  - url: >-
      https://github.com/espressif/esp-idf/commit/0b0b59f2e19cb99dfa1b28c284d1c5c1d276a132
    label: security-advisories@github.com
  - url: >-
      https://github.com/espressif/esp-idf/commit/565fa98d0cfd58102204c1cb636747e17ee59845
    label: security-advisories@github.com
  - url: >-
      https://github.com/espressif/esp-idf/commit/8262ee807d5cd425f66304f703eeb3382fb888c0
    label: security-advisories@github.com
  - url: >-
      https://github.com/espressif/esp-idf/commit/a6c1bc5e3e91ad1cb964ce2c178ee40a5d10a4a0
    label: security-advisories@github.com
  - url: >-
      https://github.com/espressif/esp-idf/commit/aa0e3d75db995b7137b55349fc92ee684b47092d
    label: security-advisories@github.com
  - url: >-
      https://github.com/espressif/esp-idf/commit/b9ba1e29b65536ab4b670ac099585d09adce0376
    label: security-advisories@github.com
  - url: >-
      https://github.com/espressif/esp-idf/security/advisories/GHSA-43gh-7r4f-qp57
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00316
epssPercentile: 0.22278
ingestedAt: '2026-10-05T19:30:59.939Z'
---

## Overview

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

- `esp-idf = 5.1.6`
- `esp-idf = 5.2.6`
- `esp-idf = 5.3.4`
- `esp-idf = 5.4.3`
- `esp-idf = 5.5.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
