CVE-2025-27840
Espressif ESP32 HCI Command Injection Vulnerability
Description
Espressif ESP32 chips allow 29 hidden HCI commands, such as 0xFC02 (Write memory).
INFO
Published Date :
March 8, 2025, 8:15 p.m.
Last Modified :
March 12, 2025, 2:58 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
6.0
Exploitability Score :
0.3
Public PoC/Exploit Available at Github
CVE-2025-27840 has a 9 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-27840
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
A Work-In-Progress for CVE-2025-27840
None
Shell Python Makefile C C++ Cuda M4 Java Jupyter Notebook HTML
Config files for my GitHub profile.
config github-config
Bitcoin Cryptanalysis: CVE-2025-27840 Vulnerability in ESP32 Microcontrollers Puts Billions of IoT Devices at Risk via Wi-Fi & Bluetooth
bitcoin bitcoin-wallet bluetooth btc privatekey vulnerability wi-fi cve-2025-27840
Python Jupyter Notebook
Expanded version of the code shown at RootedCON redone in python - CVE-2025-27840
Python
Generate README.md via python and workflows
Python JavaScript CSS HTML
收集IOT安全相关资料
Crypto Deep Tools a set of scripts for detailed cryptanalysis of the Blockchain network in cryptocurrency Bitcoin
attack bitcoin bitcoin-wallet blockchain cryptocurrencies cryptography ecdsa ecdsa-cryptography ecdsa-signature elliptic-curve-cryptography elliptic-curves privatekey secp256k1 vulnerabilities vulnerability latticeattack btc coin
Shell Python Makefile C C++ Cuda M4 Java Jupyter Notebook Dockerfile
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-27840
vulnerability anywhere in the article.

-
Daily CyberSecurity
CVE-2025-27840: How a Tiny ESP32 Chip Could Crack Open Bitcoin Wallets Worldwide
Image: Crypto Deep Tech In a jaw-dropping revelation, researchers at Crypto Deep Tech have exposed a severe cryptographic vulnerability in the ubiquitous ESP32 microcontroller, cataloged as CVE-2025-2 ... Read more
The following table lists the changes that have been made to the
CVE-2025-27840
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 12, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:P/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N Added CWE NVD-CWE-Other Added CPE Configuration AND OR cpe:2.3:h:espressif:esp32:-:*:*:*:*:*:*:* OR *cpe:2.3:o:espressif:esp32_firmware:-:*:*:*:*:*:*:* Added Reference Type MITRE: https://cheriot.org/auditing/backdoor/2025/03/09/no-esp32-style-backdoor.html Types: Technical Description, Third Party Advisory Added Reference Type MITRE: https://darkmentor.com/blog/esp32_non-backdoor/ Types: Exploit, Technical Description, Third Party Advisory Added Reference Type MITRE: https://flyingpenguin.com/?p=67838 Types: Technical Description, Third Party Advisory Added Reference Type MITRE: https://github.com/em0gi/CVE-2025-27840 Types: Product Added Reference Type MITRE: https://github.com/esphome/esphome/discussions/8382 Types: Issue Tracking Added Reference Type MITRE: https://github.com/orgs/espruino/discussions/7699 Types: Issue Tracking Added Reference Type MITRE: https://github.com/TarlogicSecurity/Talks/blob/main/2025_RootedCon_BluetoothTools.pdf Types: Third Party Advisory Added Reference Type MITRE: https://news.ycombinator.com/item?id=43301369 Types: Issue Tracking Added Reference Type MITRE: https://news.ycombinator.com/item?id=43308740 Types: Issue Tracking Added Reference Type MITRE: https://reg.rootedcon.com/cfp/schedule/talk/5 Types: Third Party Advisory Added Reference Type MITRE: https://www.bleepingcomputer.com/news/security/undocumented-backdoor-found-in-bluetooth-chip-used-by-a-billion-devices/ Types: Exploit, Press/Media Coverage Added Reference Type MITRE: https://www.bleepingcomputer.com/news/security/undocumented-commands-found-in-bluetooth-chip-used-by-a-billion-devices/ Types: Exploit, Press/Media Coverage Added Reference Type MITRE: https://www.espressif.com/en/news/Response_ESP32_Bluetooth Types: Press/Media Coverage Added Reference Type MITRE: https://www.tarlogic.com/news/backdoor-esp32-chip-infect-ot-devices/ Types: Third Party Advisory Added Reference Type MITRE: https://x.com/pascal_gujer/status/1898442439704158276 Types: Third Party Advisory -
CVE Modified by [email protected]
Mar. 11, 2025
Action Type Old Value New Value Added Reference https://www.espressif.com/en/news/Response_ESP32_Bluetooth -
CVE Modified by [email protected]
Mar. 10, 2025
Action Type Old Value New Value Added Reference https://cheriot.org/auditing/backdoor/2025/03/09/no-esp32-style-backdoor.html Added Reference https://darkmentor.com/blog/esp32_non-backdoor/ Added Reference https://github.com/esphome/esphome/discussions/8382 Added Reference https://news.ycombinator.com/item?id=43301369 Added Reference https://news.ycombinator.com/item?id=43308740 -
CVE Modified by [email protected]
Mar. 10, 2025
Action Type Old Value New Value Added Reference https://github.com/em0gi/CVE-2025-27840 Added Reference https://github.com/orgs/espruino/discussions/7699 Added Reference https://www.bleepingcomputer.com/news/security/undocumented-commands-found-in-bluetooth-chip-used-by-a-billion-devices/ -
CVE Modified by [email protected]
Mar. 09, 2025
Action Type Old Value New Value Added Reference https://flyingpenguin.com/?p=67838 -
CVE Modified by [email protected]
Mar. 08, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:P/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:L Removed CVSS V3.1 AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L -
New CVE Received by [email protected]
Mar. 08, 2025
Action Type Old Value New Value Added Description Espressif ESP32 chips allow 29 hidden HCI commands, such as 0xFC02 (Write memory). Added CVSS V3.1 AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L Added CWE CWE-912 Added Reference https://github.com/TarlogicSecurity/Talks/blob/main/2025_RootedCon_BluetoothTools.pdf Added Reference https://reg.rootedcon.com/cfp/schedule/talk/5 Added Reference https://www.bleepingcomputer.com/news/security/undocumented-backdoor-found-in-bluetooth-chip-used-by-a-billion-devices/ Added Reference https://www.tarlogic.com/news/backdoor-esp32-chip-infect-ot-devices/ Added Reference https://x.com/pascal_gujer/status/1898442439704158276
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-27840
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-27840
weaknesses.