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

Published Dec 26, 2025
·
Updated

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 avrcvendormsg() function of the ESP-IDF BlueDroid AVRCP stack, the allocated buffer size was validated using AVRCMINCMDLEN (20 bytes). However, the actual fixed header data written before the vendor payload exceeds this value. This totals 29 bytes written before pmsg->pvendordata is copied. Using the old AVRCMINCMDLEN could allow an out-of-bounds write if vendorlen approaches the buffer limit. For commands where vendorlen 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 Software

6 affected components
esp-idf<=5.5.1
Espressif ESP-IDF=5.1.6
Espressif ESP-IDF=5.2.6
Espressif ESP-IDF=5.3.4
Espressif ESP-IDF=5.4.3
Espressif ESP-IDF=5.5.1

Event History

Dec 26, 2025
CVE Published
via MITRE·11:57 PM
Data Sourced
via MITRE·11:57 PM
DescriptionWeakness
Dec 27, 2025
Data Sourced
via NVD·12:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-68474?

CVE-2025-68474 has been classified as a medium severity vulnerability due to potential buffer overflow risks.

2

How do I fix CVE-2025-68474?

To fix CVE-2025-68474, upgrade the affected versions of esp-idf to a version later than 5.5.1.

3

What versions are affected by CVE-2025-68474?

CVE-2025-68474 affects esp-idf versions 5.5.1, 5.4.3, 5.3.4, 5.2.6, 5.1.6, and earlier.

4

What functionality is compromised by CVE-2025-68474?

CVE-2025-68474 compromises the buffer size validation in the avrc_vendor_msg() function of the ESP-IDF BlueDroid AVRCP stack.

5

Who is vulnerable to CVE-2025-68474?

Any organization or individual using affected versions of the esp-idf framework may be vulnerable to CVE-2025-68474.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203