CVE-2026-23833

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:esphome:esphome:*:*:*:*:*:*:*:*

History

17 Jun 2026, 10:22

Type Values Removed Values Added
Summary
  • (es) ESPHome es un sistema para controlar microcontroladores remotamente a través de sistemas de automatización del hogar. En las versiones 2025.9.0 a 2025.12.6, un desbordamiento de entero en el decodificador protobuf del componente API permite ataques de denegación de servicio cuando no se utiliza el cifrado de API. La comprobación de límites `ptr + field_length > end` en `components/api/proto.cpp` puede desbordarse cuando un cliente malicioso envía un valor `field_length` grande. Esto afecta a todas las plataformas de dispositivos ESPHome (ESP32, ESP8266, RP2040, LibreTiny). El desbordamiento omite la comprobación fuera de límites, lo que provoca que el dispositivo lea memoria no válida y falle. Cuando se utiliza el protocolo API de texto plano, este ataque puede realizarse sin autenticación. Cuando el cifrado de ruido está habilitado, se requiere conocimiento de la clave de cifrado. Los usuarios deben actualizar a ESPHome 2025.12.7 o posterior para recibir un parche, habilitar el cifrado de API con una clave única por dispositivo y seguir las Mejores Prácticas de Seguridad.

04 Mar 2026, 15:02

Type Values Removed Values Added
CPE cpe:2.3:a:esphome:esphome:*:*:*:*:*:*:*:*
First Time Esphome
Esphome esphome
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
References () https://esphome.io/guides/security_best_practices - () https://esphome.io/guides/security_best_practices - Technical Description
References () https://github.com/esphome/esphome/commit/69d7b6e9210390051318bd8e6410727689de08d6 - () https://github.com/esphome/esphome/commit/69d7b6e9210390051318bd8e6410727689de08d6 - Patch
References () https://github.com/esphome/esphome/pull/13306 - () https://github.com/esphome/esphome/pull/13306 - Issue Tracking, Patch
References () https://github.com/esphome/esphome/security/advisories/GHSA-4h3h-63v6-88qx - () https://github.com/esphome/esphome/security/advisories/GHSA-4h3h-63v6-88qx - Mitigation, Patch, Vendor Advisory

19 Jan 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-19 18:16

Updated : 2026-06-17 10:22


NVD link : CVE-2026-23833

Mitre link : CVE-2026-23833

CVE.ORG link : CVE-2026-23833


JSON object : View

Products Affected

esphome

  • esphome
CWE
CWE-190

Integer Overflow or Wraparound