CVE-2026-23833
ESPHome vulnerable to denial-of-service via out-of-bounds check bypass in the API component
Also known as GHSA-4h3h-63v6-88qx, PYSEC-2026-1326
Mitigation
- Upgrade esphome to 2025.12.7 or later.
Who should check
- Projects that depend on PyPI package esphome (>= 2025.9.0, < 2025.12.7)
- Anyone running esphome >= 2025.9.0, < 2025.12.7
Vulnerability facts
- Affected
- esphome >= 2025.9.0, < 2025.12.7
- Fixed in
- 2025.12.7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 1.7 (v4.0, CNA)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:UOpen in CVSS calculator
Show all 12 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- Exploit maturity: Unreported
- EPSS
- 0.53% chance of exploitation in 30 days (percentile 38, 2026-11-26)
- CWE
- CWE-190
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-23833. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-23833.md Affected: esphome >= 2025.9.0, < 2025.12.7 Fixed in: 2025.12.7 Steps: 1. Search this machine and project for esphome (PyPI), esphome: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-23833 being exploited?
There is no confirmed exploitation: CVE-2026-23833 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-23833?
Low: CVSS 1.7 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-23833?
esphome >= 2025.9.0, < 2025.12.7.
Is there a fix for CVE-2026-23833?
Yes. Fixed in 2025.12.7. Upgrade esphome to 2025.12.7 or later.
How do I check if I'm affected by CVE-2026-23833?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.