CVE-2025-27840 in Espressif Esp32 and 1 more product
Espressif ESP32 chips allow 29 hidden HCI commands, such as 0xFC02 (Write memory).
Affects 2 products from 1 vendor. Facts below cite their sources.
Requires physical access, low complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Espressif | Esp32 (device and firmware) | No version listed by the source |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Espressif ESP32 chips allow 29 hidden HCI commands, such as 0xFC02 (Write memory).
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-27840 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-270245-M |
| CVSS vector | CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
| Published | 2025-03-08 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-912: CWE-912
Related attack patterns (CAPEC)
CAPEC-190 Reverse Engineer an Executable to Expose Assumed Hidden Functionality via CWE-912
CAPEC-133 Try All Common Switches via CWE-912
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2025-27840 affects Espressif ESP32 chips by exposing 29 hidden HCI commands, including the ability to write memory, which could lead to unauthorized access and manipulation of the device.
An attacker with physical or wireless access to the ESP32 device could exploit these hidden HCI commands to execute arbitrary code, modify device settings, or gain unauthorized access to sensitive data.
Questions
What is CVE-2025-27840?
CVE-2025-27840 affects Espressif ESP32 chips by exposing 29 hidden HCI commands, including the ability to write memory, which could lead to unauthorized access and manipulation of the device.
What is the CVSS score for CVE-2025-27840?
CVE-2025-27840 has CVSS 6.8 (Medium). Vector: CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N. EPSS: 1.0%.
Is CVE-2025-27840 actively exploited?
No confirmed active exploitation of CVE-2025-27840 as of 2026-09-25.
How do I remediate CVE-2025-27840?
Priority: HIGH.
What systems are affected by CVE-2025-27840?
CVE-2025-27840 affects Espressif Esp32.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Espressif","product":"Esp32","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.