ESF-IDF Has Out-of-Bounds Write in ESP32 Bluetooth AVRCP Vendor Command Handling

Summary

CVECVE-2025-68474
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-12-27 00:15:42 UTC
Updated2026-10-07 13:10:00 UTC
DescriptionESF-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.

Risk And Classification

Primary CVSS: v4.0 6.1 MEDIUM from [email protected]

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

EPSS: 0.003160000 probability, percentile 0.224540000 (date 2026-10-07)

Problem Types: CWE-787 | CWE-787 CWE-787: Out-of-bounds Write


VersionSourceTypeScoreSeverityVector
4.0[email protected]Secondary6.1MEDIUMCVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:L/SI:L/SA:L/E:X/C...
4.0CNADECLARED6.1MEDIUMCVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:L/SI:L/SA:L
3.1[email protected]Primary7.6HIGHCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

CVSS v4.0 Breakdown

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Confidentiality
Low
Integrity
Low
Availability
High
Sub Conf.
Low
Sub Integrity
Low
Sub Availability
Low

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS v3.1 Breakdown

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Espressif Esp-idf 5.1.6 All All All
Application Espressif Esp-idf 5.2.6 All All All
Application Espressif Esp-idf 5.3.4 All All All
Application Espressif Esp-idf 5.4.3 All All All
Application Espressif Esp-idf 5.5.1 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Espressif Esp-idf affected >= 5.5-beta1, <= 5.5.1 Not specified
CNA Espressif Esp-idf affected >= 5.4-beta1, <= 5.4.3 Not specified
CNA Espressif Esp-idf affected >= 5.3-beta1, <= 5.3.4 Not specified
CNA Espressif Esp-idf affected >= 5.2-beta1, <= 5.2.6 Not specified
CNA Espressif Esp-idf affected <= 5.1.6 Not specified

References

ReferenceSourceLinkTags
github.com/espressif/esp-idf/commit/8262ee807d5cd425f66304f703eeb3382fb8... [email protected] github.com Patch
github.com/espressif/esp-idf/security/advisories/GHSA-43gh-7r4f-qp57 [email protected] github.com Vendor Advisory
github.com/espressif/esp-idf/commit/a6c1bc5e3e91ad1cb964ce2c178ee40a5d10... [email protected] github.com Patch
github.com/espressif/esp-idf/commit/565fa98d0cfd58102204c1cb636747e17ee5... [email protected] github.com Patch
github.com/espressif/esp-idf/commit/b9ba1e29b65536ab4b670ac099585d09adce... [email protected] github.com Patch
github.com/espressif/esp-idf/commit/aa0e3d75db995b7137b55349fc92ee684b47... [email protected] github.com Patch
github.com/espressif/esp-idf/commit/0b0b59f2e19cb99dfa1b28c284d1c5c1d276... [email protected] github.com Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report