CVE-2025-68474: Espressif ESP-IDF - Buffer Overflow
- Cve: CVE-2025-68474
- Name: Espressif ESP-IDF - Buffer Overflow
- 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.
- Impact: Attackers can cause memory corruption or crashes, potentially leading to denial of service or undefined behavior.
- Remediation: Update to a version later than 5.5.1 or the latest available version.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.6
- Cvss vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- Epss score: 0.00316
- Epss percentile: 0.24921
- Assignee: [email protected]
- Published at: 2025-12-27T00:15:42Z
- Age in days: 332
- Modified at: 2026-10-07T13:10:00Z
- Patch available: yes
- References total: 7
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-68474
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| espressif:esp-idf | = 5.5.1, = 5.4.3, = 5.3.4, = 5.2.6, = 5.1.6 | no | nvd | /v1/products/espressif/esp-idf |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| espressif/esp-idf | commit, fix, security_advisory | yes | /v1/repositories/espressif/esp-idf |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts