Loading advisory.
Loading advisory.
ESPHome vulnerable to denial-of-service via out-of-bounds check bypass in the API component
An integer overflow in the API component's protobuf decoder allows denial-of-service attacks when API encryption is not used.
Published 2026-01-19 17:58 UTC · Modified 2026-07-07 17:56 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| esphome | PyPI | >= 2025.9.0, < 2025.12.7 versions 2025.10.0, 2025.10.0b1, 2025.10.0b2, 2025.10.0b3, 2025.10.0b4, 2025.10.1, 2025.10.2, 2025.10.3, 2025.10.4, 2025.10.5, 2025.11.0, 2025.11.0b1, 2025.11.0b2, 2025.11.0b3, 2025.11.0b4, 2025.11.0b5, 2025.11.1, 2025.11.2, 2025.11.3, 2025.11.4 and 17 more | 2025.12.7 | pip install --upgrade 'esphome>=2025.12.7' |
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.
ESPHome 2025.9.0 through 2025.12.6
Upgrade to ESPHome 2025.12.7 or later (or 2026.1.0b3 or later)
Enable API encryption with a unique key per device
Follow the Security Best Practices
Low - Users following Security Best Practices with API encryption enabled are not affected without knowledge of the encryption key.
Denial-of-service. An attacker with network access to port 6053 can crash and reboot the device.
Thanks to @Mat931 for responsibly reporting this vulnerability.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.005 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.005 | 0.003 | v2026.06.15 |