Undocumented Hidden Commands in Espressif ESP32 Bluetooth Chips
CVE-2025-27840
Key Information:
- Vendor
Espressif
- Status
- Esp32
- CVE ID
- CVE ID:
- CVE-2025-27840
- Vendor
- CVE Published:
- 8 March 2025
Timeline
Exploit known 2 days after it was published
- 🥇
Vulnerability reached the number 1 worldwide trending spot
- 📈
Vulnerability started trending
- 💰
Used in Ransomware
- 🟡
Public PoC available
- 👾
Exploit known to exist
- 📰
First article discovered by flyingpenguin
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- No: Needs physical access
- Yes: Public exploit code (3 proof-of-concepts)
- No: Not on CISA's exploited list
- Yes: Used by ransomware
Our verdict
Patch now
Attackers are using it. Patch or mitigate today.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
2Look for signs of compromise
It is being exploited in the wild, so check logs on exposed Esp32 systems for unusual requests or new processes from before you patched. The 3 public proof-of-concepts show what an attack looks like.
3Why it's rated "Patch now"
- Ransomware groups use it.
- Exploit code is public, so attacks are easy to copy.
- Its CVSS severity is medium (6.8).
What is CVE-2025-27840?
CVE-2025-27840 affects Espressif's ESP32 Bluetooth chips, which are widely used in various devices, including hardware wallets for cryptocurrencies. The vulnerability arises from undocumented hidden HCI commands, allowing attackers to exploit module updates to bypass security protocols. This can enable unauthorized access to private keys and facilitate the signing of fraudulent transactions.
The flaw has been exploited in the wild, with researchers demonstrating its capability to extract private keys from a Bitcoin wallet, highlighting its potential for significant financial theft.
Potential Impact of CVE-2025-27840
-
Unauthorized transactions: Attackers can forge ECDSA signatures, allowing them to execute transactions without user detection.
-
Private key theft: The vulnerability enables the extraction of private keys from affected devices, compromising the security of digital assets.
Affected Version(s)
ESP32 2025-03-06
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
News Articles
How a Critical ESP32 Chip Flaw Threatens the Security of Bitcoin Wallets
Bitcoin wallets using ESP32 chips face major risks in 2025 as CVE-2025-27840 exposes critical vulnerabilities to hackers.
Chinese chip used in bitcoin wallets is putting traders at risk
Bitcoin wallets that use the ESP32 chip, including Blockstream’s Jade wallet, are on high alert after a new critical vulnerability error.
Are All Bitcoin Hardware Wallets in Danger? Critical Vulnerability Discovered
The ESP32 chip, which is frequently found in less expensive Bitcoin hardware wallets, has a recently discovered critical vulnerability. The random number generator on the chip has an insufficient entropy problem, which is currently listed under CVE-2025-27840. This defect severely impairs the chip'…
References
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction
