Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-23833

Опубликовано: 19 янв. 2026
Источник: redhat
CVSS3: 7.5

Описание

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 flaw was found in ESPHome. An integer overflow vulnerability exists in the API component's protobuf decoder. A remote attacker can exploit this by sending a specially crafted, large field_length value, which bypasses a bounds check. This can lead to a denial-of-service (DoS) condition, causing the affected device to crash. This attack can be performed without authentication if API encryption is not utilized.

Отчет

This vulnerability is rated Low for Red Hat. The flaw in ESPHome's API component, affecting python-aioesphomeapi in Fedora 42, can lead to a denial of service. Exploitation requires the API encryption to be disabled; if encryption is enabled, knowledge of the encryption key is necessary.

Меры по смягчению последствий

To mitigate this issue, enable API encryption with a unique key for each ESPHome device. This prevents unauthenticated denial-of-service attacks by requiring knowledge of the encryption key for exploitation. Refer to ESPHome's Security Best Practices for detailed configuration instructions.

Дополнительная информация

Статус:

Low
Дефект:
CWE-190
https://bugzilla.redhat.com/show_bug.cgi?id=2430945ESPHome: ESPHome: Denial of Service via integer overflow in API protobuf decoder

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 7.5
nvd
2 месяца назад

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.

github
2 месяца назад

ESPHome vulnerable to denial-of-service via out-of-bounds check bypass in the API component

7.5 High

CVSS3