CVE-2025-68474CWE-787

CVE-2025-68474

High · published December 27, 2025

CVSS v3.1
7.6
EPSS
0%
Percentile
23.2
In the wild
Unconfirmed
What it is

⚠️ A tiny oversight could lead to some big headaches! The ESP-IDF BlueDroid AVRCP stack has a sneaky buffer overflow issue hiding in plain sight. 🔍 Think of it like a restaurant serving meals on plates that are just a bit too small—when the chef adds a generous portion, it spills over the edge, causing a messy situation. Here, the allocated buffer size is like that plate, and exceeding it can lead to memory corruption and system crashes. If exploited, this vulnerability could allow an attacker to cause memory corruption, crashes, or even trigger undefined behavior. This means your IoT device could become unstable and unpredictable, disrupting services and potentially leading to data loss.

Put simply

Think of it like a restaurant serving meals on plates that are just a bit too small—when the chef adds a generous portion, it spills over the edge, causing a messy situation. Here, the allocated buffer size is like that plate, and exceeding it can lead to memory corruption and system crashes. The issue lies in the avrc_vendor_msg() function, where the buffer allocated for message commands is validated against a minimum length that doesn’t account for the actual size of the data being written. This results in an out-of-bounds write if the vendor payload exceeds expectations.

What to do

If exploited, this vulnerability could allow an attacker to cause memory corruption, crashes, or even trigger undefined behavior. This means your IoT device could become unstable and unpredictable, disrupting services and potentially leading to data loss. To mitigate this, upgrade to version 5.5.2 or later of the ESP-IDF. Additionally, ensure to review buffer sizes throughout your application to avoid similar pitfalls in the future. Keep those software components up-to-date! You've got this! With a few updates, your systems will be safer and more reliable in no time. 🛡️

The record
Technical detail
CVSS v3.1
7.6 · HIGH
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
CVSS v4.0
Not supplied
EPSS
0.00316 · 23.2th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2025-12-27T05:15Z
Affected products (5)
ProductVersionsFixed in
espressif/esp-idfall versions—
espressif/esp-idfall versions—
espressif/esp-idfall versions—
espressif/esp-idfall versions—
espressif/esp-idfall versions—
References (7)
EPSS history
Timeline
  • 26 DEC 23:57Z
    ESF-IDF Has Out-of-Bounds Write in ESP32 Bluetooth AVRCP Vendor Command Handling
    cvelistv5