6.8
MEDIUM
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.

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.

Affected Products

The following products are affected by CVE-2025-27840 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Espressif esp32_firmware
2 Espressif esp32
References to Advisories, Solutions, and Tools

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

Updated: 1 week, 6 days ago
0 stars 0 fork 0 watcher
Born at : April 8, 2025, 2:27 p.m. This repo has been linked 1 different CVEs too.

None

Shell Python Makefile C C++ Cuda M4 Java Jupyter Notebook HTML

Updated: 2 days, 22 hours ago
1 stars 0 fork 0 watcher
Born at : April 1, 2025, 10:19 p.m. This repo has been linked 3 different CVEs too.

Config files for my GitHub profile.

config github-config

Updated: 3 weeks ago
0 stars 0 fork 0 watcher
Born at : March 30, 2025, 10:40 p.m. This repo has been linked 1 different CVEs too.

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

Updated: 1 week, 4 days ago
7 stars 1 fork 1 watcher
Born at : March 30, 2025, 4:12 p.m. This repo has been linked 1 different CVEs too.

Expanded version of the code shown at RootedCON redone in python - CVE-2025-27840

Python

Updated: 1 month ago
9 stars 3 fork 3 watcher
Born at : March 9, 2025, 4:15 p.m. This repo has been linked 1 different CVEs too.

Generate README.md via python and workflows

Python JavaScript CSS HTML

Updated: 19 hours, 11 minutes ago
0 stars 0 fork 0 watcher
Born at : Feb. 19, 2025, 11:22 p.m. This repo has been linked 1 different CVEs too.

收集IOT安全相关资料

Updated: 20 hours, 2 minutes ago
74 stars 3 fork 3 watcher
Born at : Oct. 16, 2024, 3:27 p.m. This repo has been linked 8 different CVEs too.

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

Updated: 5 days, 13 hours ago
199 stars 161 fork 161 watcher
Born at : June 27, 2022, 12:05 p.m. This repo has been linked 3 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 day, 2 hours ago
6851 stars 1157 fork 1157 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 841 different CVEs too.

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

Published Date: Apr 14, 2025 (1 week ago)

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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Apr. 21, 2025 20:53