Skip to content

esp-idf

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

CVE-2025-68474Published 26 Dec 2025, 23:57 UTC

Real-world risk

0.6/ 10Low

Routine

If the vulnerable configuration applies to you: 1.4

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.1

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
esp-idfNiche>= 5.5-beta1, <= 5.5.1; >= 5.4-beta1, <= 5.4.3; >= 5.3-beta1, <= 5.3.4; >= 5.2-beta1, <= 5.2.6; <= 5.1.6—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactDenial of serviceCrash or resource exhaustion onlyFrom the CVSS vector0.40
Attacker positionAdjacentSame Wi-Fi, Bluetooth range or network segmentFrom the CVSS vector0.40
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.3% chance of exploitation in 30 days (percentile 29), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.180
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.4 × prerequisites 0.18 × threat 0.850.612
  4. Rounded to one decimal between 0.1 and 100.6

How the score works

Exploitation and evidence timeline

  1. 26 Dec 2025 Published
  2. 3 Dec 2026 Risk 0.6 (cvss fallback)

Weakness

CWE-787

References

Get alerts for esp-idf

Free email or text alerts when a vulnerability in esp-idf reaches risk 8 or higher. Nothing else.