{"id":"CVE-2026-23833","published":"2026-01-19T17:58:50Z","modified":"2026-01-20T21:39:18Z","title":"ESPHome vulnerable to denial-of-service via out-of-bounds check bypass in the API component","vendor":"esphome","product":"esphome","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":1.7,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00301,"percentile":0.23412,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/esphome/esphome/security/advisories/GHSA-4h3h-63v6-88qx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/esphome/esphome/pull/13306","tags":["x_refsource_MISC"]},{"url":"https://github.com/esphome/esphome/commit/69d7b6e9210390051318bd8e6410727689de08d6","tags":["x_refsource_MISC"]},{"url":"https://esphome.io/guides/security_best_practices","tags":["x_refsource_MISC"]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":4.68},{"name":"CVSS severity","points":1.19}]},"vendorSlug":"esphome","affectedVersions":[{"vendor":"esphome","product":"esphome","versions":[">= 2025.9.0, < 2025.12.7"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-01-20T21:39:09.658572Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"esphome","vulnerableRanges":[">=2025.9.0, <2025.12.7"],"patched":["2025.12.7"],"from":["GHSA-4h3h-63v6-88qx","PYSEC-2026-1326"],"provenance":"source"}],"summary":{"text":"ESPHome, a framework for remotely controlling microcontrollers through home automation systems, has an integer overflow in the protobuf decoder of its API component, located in components/api/proto.cpp, that bypasses an out-of-bounds check and affects all device platforms. An attacker who can reach the device's API over the network can crash it with a crafted oversized field length, without authentication, when the plaintext API protocol is in use; if noise encryption is enabled, the attacker must know the encryption key.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:00Z"},"euvd":{"id":"EUVD-2026-3306","exploited":false,"provenance":"source"}}