CVE-2025-68474 in Espressif Esp-Idf
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Exploitable from adjacent network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Espressif | Esp-Idf | 5.1.6 5.2.6 5.3.4 5.4.3 5.5.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-68474 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-030158-H |
| CVSS vector | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| Published | 2025-12-27 |
| Last modified | 2026-10-07 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
A buffer overflow vulnerability exists in the avrc_vendor_msg() function of the ESP-IDF BlueDroid AVRCP stack in versions 5.5.1, 5.4.3, 5.3.4, 5.2.6, 5.1.6, and earlier. The allocated buffer size is validated using AVRC_MIN_CMD_LEN (20 bytes), but the actual fixed header data written before the vendor payload exceeds this value, totaling 29 bytes written.
An attacker could exploit this vulnerability by sending a specially crafted AVRCP command to the device, potentially leading to a buffer overflow. This could result in code execution, denial of service, or other unspecified impacts.
Questions
What is CVE-2025-68474?
A buffer overflow vulnerability exists in the avrc_vendor_msg() function of the ESP-IDF BlueDroid AVRCP stack in versions 5.5.1, 5.4.3, 5.3.4, 5.2.6, 5.1.6, and earlier. The allocated buffer size is validated using AVRC_MIN_CMD_LEN (20 bytes), but the actual fixed header data written before the vendor payload exceeds this value, totaling 29 bytes written.
What is the CVSS score for CVE-2025-68474?
CVE-2025-68474 has CVSS 7.6 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H. EPSS: 0.5%.
Is CVE-2025-68474 actively exploited?
No confirmed active exploitation of CVE-2025-68474 as of 2026-10-08.
How do I remediate CVE-2025-68474?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2025-68474?
CVE-2025-68474 affects Espressif Esp-Idf.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Espressif","product":"Esp-Idf","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-07.