# CVE-2026-23833: ESPHome vulnerable to denial-of-service via out-of-bounds check bypass in the API component

- Severity: Low 1.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-01-19T17:58:50.499Z
- Modified: 2026-07-07T17:56:35.058Z
- Also known as: GHSA-4h3h-63v6-88qx, PYSEC-2026-1326
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- esphome esphome: >= 2025.9.0, < 2025.12.7; from 2025.9.0 before 2025.12.7
- esphome (PyPI): from 2025.9.0 before 2025.12.7

## Every score

- GitHub_M: CVSS:4.0 1.7 Low `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`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/esphome/esphome/security/advisories/GHSA-4h3h-63v6-88qx> (mitigation, patch, vendor-advisory, web)
- <https://github.com/esphome/esphome/pull/13306> (issue-tracking, patch, web)
- <https://github.com/esphome/esphome/commit/69d7b6e9210390051318bd8e6410727689de08d6> (patch, web)
- <https://esphome.io/guides/security_best_practices> (technical-description, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-23833> (advisory)
- <https://github.com/esphome/esphome> (package)
- <https://pypi.org/project/esphome> (package)
- <https://github.com/advisories/GHSA-4h3h-63v6-88qx> (advisory)

## Sources

- CVE List: [CVE-2026-23833](https://www.cve.org/CVERecord?id=CVE-2026-23833), CVE Terms of Use, modified 2026-01-20
- GitHub Advisory Database: [GHSA-4h3h-63v6-88qx](https://github.com/advisories/GHSA-4h3h-63v6-88qx), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-23833](https://nvd.nist.gov/vuln/detail/CVE-2026-23833), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1326](https://osv.dev/vulnerability/PYSEC-2026-1326), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2026-23833 · Whole record: https://cve.day/CVE-2026-23833.json · Rebuilt by cve.day 2026-11-25T22:59:12.944Z
