CVE-2026-23833Esphome
Low 1.7 No auth needed
Follow: this CVE · Esphome · Esphome We alert you by email or Slack (account required).
- Priority
- 25
- CVSS 4.0
- 1.7
- EPSS
- —
- Auth required
- No
- Published
- Jan 19, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
ESPHome is a system to control microcontrollers remotely through Home Automation systems. In versions 2025.9.0 through 2025.12.6, an integer overflow in the API component's protobuf decoder allows denial-of-service attacks when API encryption is not used. The bounds check `ptr + field_length > end` in `components/api/proto.cpp` can overflow when a malicious client sends a large `field_length` value. This affects all ESPHome device platforms (ESP32, ESP8266, RP2040, LibreTiny). The overflow bypasses the out-of-bounds check, causing the device to read invalid memory and crash. When using the plaintext API protocol, this attack can be performed without authentication. When noise encryption is enabled, knowledge of the encryption key is required. Users should upgrade to ESPHome 2025.12.7 or later to receive a patch, enable API encryption with a unique key per device, and follow the Security Best Practices.
What to do
- Apply the vendor's security update for Esphome.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | esphome |
≥ 2025.9.0 < 2025.12.7 |
2025.12.7 |
pip install "esphome>=2025.12.7" |
| PyPI | esphome |
≥ 2025.9.0 < 2025.12.7 |
2025.12.7 |
pip install "esphome>=2025.12.7" |
Per OSV / GitHub Advisories (GHSA-4h3h-63v6-88qx, PYSEC-2026-1326). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| esphome | esphome | ≥ 2025.9.0 < 2025.12.7 |
Official sources
References
Links published by the sources. Open them with care.
- esphome.io Technical Description
- github.com Patch
- github.com Issue Tracking Patch
- github.com Mitigation Patch Vendor Advisory