
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-23833 is an integer overflow vulnerability in the API component's protobuf decoder of ESPHome, a system for remotely controlling microcontrollers via home automation platforms. It affects ESPHome versions 2025.9.0 through 2025.12.6 across all supported device platforms (ESP32, ESP8266, RP2040, LibreTiny). The vulnerability was responsibly disclosed by researcher @Mat931 and published on January 18–19, 2026, with a patch released in version 2025.12.7. It carries a CVSS v3.1 base score of 7.5 (High) and a CVSS v4.0 base score of 1.7 (Low), reflecting that unauthenticated exploitation is possible only when API encryption is disabled (Github Advisory, ESPHome Advisory).
The root cause is an integer overflow (CWE-190) in the bounds check ptr + field_length > end within components/api/proto.cpp. On 32-bit microcontroller platforms, when a malicious client sends a crafted protobuf message with a sufficiently large field_length value, the addition of ptr and field_length wraps around, causing the comparison to evaluate as false and bypassing the out-of-bounds guard. This allows the device to read invalid memory beyond the buffer boundary, resulting in a crash and reboot. The fix, merged in PR #13306, replaces the addition-based check with a subtraction-based equivalent (field_length > static_cast<size_t>(end - ptr)), which is immune to overflow on these platforms. When the plaintext API protocol is in use (port 6053), no authentication is required to trigger the crash; with noise encryption enabled, a valid encryption key is needed (ESPHome Advisory, Patch Commit, Pull Request).
Successful exploitation results in a denial-of-service condition: the affected ESPHome device reads invalid memory and crashes, triggering an unintended reboot. There is no impact on confidentiality or integrity — the vulnerability is limited to availability of the targeted IoT device. In home automation environments, this could disrupt smart home functionality, disable sensors or actuators, and cause repeated device unavailability if the attacker continuously sends malicious packets (Github Advisory, ESPHome Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.046%, indicating a low probability of exploitation in the near term. Exploitation without authentication is only possible when the plaintext API protocol is used; devices with noise encryption enabled require the attacker to possess the encryption key, significantly raising the bar for exploitation (Github Advisory).
nmap -p 6053 <target_range>). Identify devices running ESPHome versions 2025.9.0 through 2025.12.6 without API encryption enabled.field_length value large enough to cause integer overflow when added to the current buffer pointer (e.g., a value near 0xFFFFFFFF on a 32-bit platform).ptr + field_length > end overflows, evaluates as false, and the device proceeds to read out-of-bounds memory.Out-of-bounds log entries from components/api/proto.cpp (e.g., Out-of-bounds Length Delimited at offset) immediately before a crash; Home Assistant or other controllers logging repeated reconnection events to ESPHome devices.The primary remediation is to upgrade ESPHome to version 2025.12.7 or later (or 2026.1.0b3 or later for beta users), which replaces the vulnerable addition-based bounds check with a safe subtraction-based equivalent (ESPHome Advisory, Patch Commit). As an interim workaround, enabling API encryption with a unique key per device prevents unauthenticated exploitation, as the attacker would need knowledge of the encryption key. Additional hardening measures include restricting network access to port 6053 to trusted hosts only via firewall rules, disabling the API component on devices where it is not required, and following the ESPHome Security Best Practices (Github Advisory).
The vulnerability was responsibly reported by community researcher @Mat931 and acknowledged by the ESPHome maintainers, who issued a patch promptly in version 2025.12.7. The advisory was rated "Low" severity by the ESPHome project, noting that users following security best practices with API encryption enabled are not affected without knowledge of the encryption key. No significant broader media coverage or notable social media discussion beyond standard CVE tracking sites has been observed (ESPHome Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."