Esp IdfApplication · Espressif

CVE-2021-28135

MEDIUM · 6.5 CVSS v3.1 Published 2021-09-07
Fix available
A fix is available. Upgrade to after 4.4 or later.
See remediation →
70/100
Remediation priority · Elevated
No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
The Bluetooth Classic implementation in Espressif ESP-IDF 4.4 and earlier does not properly handle the reception of continuous unsolicited LMP responses, allowing attackers in radio range to trigger a denial of service (crash) in ESP32 by flooding the target device with LMP Feature Response data.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The ESP-IDF Bluetooth Classic implementation fails to properly handle continuous unsolicited LMP (Link Management Protocol) Feature Response messages. An attacker within radio range can flood an ESP32 device with these LMP responses, causing a buffer overflow or resource exhaustion that leads to a system crash.

MitigationUpdate ESP-IDF to a version newer than 4.4 that contains the fix for this vulnerability. If immediate updating is not feasible, consider disabling Bluetooth Classic functionality if not required, or implement network-level controls to limit exposure to nearby attackers.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Esp IdfApplication
Affected:<= 4.4

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Adjacent
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify if the device runs ESP-IDF
    Inspect the firmware or device documentation to confirm it uses Espressif ESP-IDF as the development framework
    Affected if The device firmware is not based on ESP-IDF, then this CVE does not apply
  2. Determine the ESP-IDF version
    Check the firmware version string, build metadata, or bootloader information to identify the ESP-IDF version
    Affected if The installed ESP-IDF version is 4.4 or earlier, placing it within the vulnerable range
  3. Confirm Bluetooth Classic is enabled
    Examine the device Bluetooth configuration, runtime settings, or device capabilities to determine if Classic Bluetooth (BR/EDR) is active versus only BLE
    Affected if Bluetooth Classic is not in use, only BLE (Bluetooth Low Energy) is enabled, then the device is not affected by this specific LMP vulnerability

A device is affected if it runs ESP-IDF version 4.4 or earlier AND has Bluetooth Classic (BR/EDR) functionality enabled, making it susceptible to the LMP feature response overflow via nearby attackers.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 4.4
Interim mitigation

Update ESP-IDF to a version newer than 4.4 that contains the fix for this vulnerability. If immediate updating is not feasible, consider disabling Bluetooth Classic functionality if not required, or implement network-level controls to limit exposure to nearby attackers.

Recommended fix Moderate confidence

ESP-IDF > 4.4 (check Espressif's release notes for the specific version containing the LMP fix)

  1. Upgrade ESP-IDF to a version newer than 4.4 that contains the fix for the LMP Feature Response handling vulnerability
  2. Ensure the Bluetooth Classic stack is updated in the new ESP-IDF version
  3. Rebuild and deploy the application with the updated ESP-IDF
  4. Test the device to verify Bluetooth Classic functionality operates normally without crashes
Caveat Review release notes between 4.4 and the target version for any API changes or breaking changes in Bluetooth Classic functionality

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Esp Idf Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing8.0 h
  • Review / QA4.0 h
24.0 hours of engineering $4,160
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,656.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2021-28135 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2021-28135 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data