Security Resilience

CVE-2025-27840

Espressif Esp32 Firmware

Public PoC
Published
08 March 2025
Modified
12 March 2025
Patch / advisory
CVSS Score v3.1 6.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:P/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:L
EPSS Score 0.014 72th percentile
Risk Priority 51 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-27840 is a medium-severity Hidden Functionality (CWE-912) vulnerability in Espressif Esp32 Firmware. Its CVSS base score is 6.8 (Medium).

Operationally, ranked in the top 28% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to CM-2 (Baseline Configuration) and CM-7 (Least Functionality) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

Espressif ESP32 chips allow 29 hidden HCI commands, such as 0xFC02 (Write memory).

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-41429Same vendor: Espressif
CVE-2024-51428Same vendor: Espressif
CVE-2026-46532Same vendor: Espressif
CVE-2025-55297Same vendor: Espressif
CVE-2026-45542Same vendor: Espressif
CVE-2026-42855Same vendor: Espressif
CVE-2025-66409Same vendor: Espressif
CVE-2024-28183Same vendor: Espressif
CVE-2026-42854Same vendor: Espressif
CVE-2026-25508Same vendor: Espressif

Affected Assets

espressif
esp32 firmware
all versions

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Maintaining and reviewing a documented baseline configuration allows comparison that reveals any functionality absent from the approved specification.

Least-functionality configuration explicitly prohibits or restricts any capability not required by the approved baseline, blocking hidden additions.

Developer testing and evaluation activities are designed to discover undocumented or unspecified functionality after it has been introduced.

Documented development processes and standards require all functionality to be specified and visible, structurally preventing undocumented hidden features.

An SDLC that incorporates security engineering principles mandates that all product functions be part of the approved specification.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development and acceptance can discover undocumented functionality before release.

blocks

Change management processes can catch unauthorized additions but do not inherently prevent hidden functionality from being introduced.

finds

Monitoring activities can detect anomalous behavior from hidden functions but do not eliminate the weakness.

prevents

Secure coding standards reduce the likelihood of introducing hidden code but do not address its detection or removal.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-912, a class-level weakness, and none of its children carries one either.

References