CVE-2026-23833 json
ESPHome vulnerable to denial-of-service via out-of-bounds check bypass in the API component
published 2026-01-19 9 mo ago modified 2026-07-07 4 mo ago also EUVD-2026-3306 , GHSA-4h3h-63v6-88qx , PYSEC-2026-1326
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 23%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi esphome 2025.12.7
- esphome esphome 2025.12.7
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-23833 updated cvss 7.5
ESPHome: ESPHome: Denial of Service via integer overflow in API protobuf decoder
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 1.7 | 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 |
| CNA | 4.0 | 1.7 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | esphome | >=2025.9.0, <2025.12.7 |
2025.12.7 |
Affected products
- esphome esphome
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/esphome/esphome/pull/13306
web, issue-tracking, patch
-
github.com
/esphome/esphome/commit/69d7b6e9210390051318bd8e6410727689de08d6
web, patch
-
github.com
/esphome/esphome/security/advisories/GHSA-4h3h-63v6-88qx
web, mitigation, patch, vendor-advisory
-
esphome.io
/guides/security_best_practices
web, technical-description
-
nvd.nist.gov
/vuln/detail/CVE-2026-23833
advisory
-
github.com
/esphome/esphome
package
-
pypi.org
/project/esphome
package
-
github.com
/advisories/GHSA-4h3h-63v6-88qx
advisory
Sources
- CVE List CVE-2026-23833
- GitHub Advisory GHSA-4h3h-63v6-88qx
- NVD CVE-2026-23833
- OSV PYSEC-2026-1326
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.