CVE-2026-23833 Details
Description
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.
A denial-of-service vulnerability has been identified in the ESPHome API component's protobuf decoder, present in versions 2025.9.0 prior to 2025.12.6. The issue arises from an integer overflow in the bounds checking mechanism, which can be exploited by a malicious client sending a large 'field_length' value. This overflow bypasses the out-of-bounds check, causing the device to read invalid memory and crash. The vulnerability affects all ESPHome device platforms, including ESP32, ESP8266, RP2040, and LibreTiny. When the plaintext API protocol is used, the attack can be executed without authentication. Although the vulnerability can be exploited when noise encryption is enabled, this requires knowledge of the encryption key.
Users are advised to upgrade to ESPHome version 2025.12.7 or later, or 2026.1.0b3 or later. After upgrading, API encryption should be enabled with a unique key for each device. For more detailed guidance, refer to the ESPHome Security Best Practices.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://esphome.io/guides/security_best_practices | [email protected] | Technical Description |
| https://github.com/esphome/esphome/commit/69d7b6e9210390051318bd8e6410727689de08d6 | [email protected] | Patch |
| https://github.com/esphome/esphome/pull/13306 | [email protected] | Issue TrackingPatch |
| https://github.com/esphome/esphome/security/advisories/GHSA-4h3h-63v6-88qx | [email protected] | MitigationPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| esphome esphome | >= 2025.9.0, < 2025.12.7 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 4, 2026 | Initial Analysis | [email protected] |
| Jan 19, 2026 | New CVE Received | [email protected] |