CVE-2025-27840: CVE-2025-27840: Espressif ESP32 chips allow 29 hidden HCI commands, such as 0xFC02 (Write memory).
espressif · esp32 firmware · NVD published 2025-03-09 · posted 2025-03-09 · last modified 2026-06-17
What it is
Espressif ESP32 chips allow 29 hidden HCI commands, such as 0xFC02 (Write memory).
| Weakness | CWE-912 |
|---|---|
| CVSS vector | CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N (source: [email protected]) |
| ATT&CK tactics | n/a |
Exploitation evidence
First exploit evidence seen: 2025-03-09 (earliest date across the sources below).
Exploited in the wild
No source on this site lists in-the-wild exploitation yet (CISA KEV, VulnCheck KEV).
Public exploit code
GitHub proof-of-concept repositories
4 public repositories from 4 accounts, first seen 2025-03-09. Most starred: demining/Bluetooth-Attacks-CVE-2025-27840 (13 stars), view repository.
Verify before running: public PoCs can be malicious. Read the code and only run it in an isolated lab. A PoC means exploit code is public, not that this CVE is exploited in the wild.
Sources: nomi-sec/PoC-in-GitHub.
How to fix it
Fixed versions
NVD does not list a fixed version for this CVE. Use the vendor advisory below.
Derived from the NVD CPE configuration (versionEndExcluding / versionEndIncluding). Always confirm with the vendor advisory.
Vendor advisories and patches
No vendor-tagged reference yet; see the full reference list.
Detection Generic guidance
Response checklist Generic guidance
- Inventory: find every instance of the affected product and version (include internet-facing and forgotten ones).
- Patch or mitigate per the vendor advisory; if you cannot patch, remove internet exposure or apply the vendor workaround.
- Assume compromise if the system was exposed before patching: hunt for the indicators in the advisory and review logs back to the disclosure date.
- Rotate credentials and secrets stored on or used by the affected system if compromise cannot be ruled out.
Sources
- NVD: CVE-2025-27840
- CVE.org record
- FIRST EPSS (2026-10-24)
- https://cheriot.org/auditing/backdoor/2025/03/09/no-esp32-style-backdoor.html (Technical Description, Third Party Advisory)
- https://darkmentor.com/blog/esp32_non-backdoor/ (Exploit, Technical Description, Third Party Advisory)
- https://flyingpenguin.com/?p=67838 (Technical Description, Third Party Advisory)
- https://github.com/TarlogicSecurity/Talks/blob/main/2025_RootedCon_BluetoothTools.pdf (Third Party Advisory)
- https://github.com/em0gi/CVE-2025-27840 (Product)
- https://github.com/esphome/esphome/discussions/8382 (Issue Tracking)
- https://github.com/orgs/espruino/discussions/7699 (Issue Tracking)
- https://news.ycombinator.com/item?id=43301369 (Issue Tracking)