{"answers":{"affected":"3 open source packages ship an affected version, including esphome. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23833 exists.","fix":"Upgrade esphome to 2025.12.7 or later.","what":"CVE-2026-23833 is a low-severity vulnerability in esphome, published on 19 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-23833 and fix it if it is affected.\n\nWhat it is: CVE-2026-23833 is a low-severity vulnerability in esphome, published on 19 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23833 exists.\n\nAffected packages and fixed versions:\n- esphome (PyPI): affected from 2025.9.0; fixed in 2025.12.7\n- esphome (PyPI): affected from 2025.9.0; fixed in 2025.12.7\n- esphome (PyPI): affected from 2025.9.0; fixed in 2025.12.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-23833/ (Markdown: https://insights.sbomify.com/CVE-2026-23833/index.md)","id":"CVE-2026-23833","markdown":"https://insights.sbomify.com/CVE-2026-23833/index.md","name":"CVE-2026-23833","record":{"aliases":["GHSA-4h3h-63v6-88qx","PYSEC-2026-1326"],"analysis":{"component_type":"iot_embedded","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Home automation firmware","requires_auth":"none","summary":"An integer overflow in ESPHome's API decoder allows remote attackers to crash devices via malformed packets when encryption is disabled.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"esphome","vendor":"esphome"}],"cvss":{"score":1.7,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"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 \u003e 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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"ESPHome vulnerable to denial-of-service via out-of-bounds check bypass in the API component","id":"CVE-2026-23833","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"LobeHub Vulnerable to Improper Authorization in Presigned Upload","id":"CVE-2026-23835"},"packages":[{"ecosystem":"PyPI","fixed":["2025.12.7"],"introduced":["2025.9.0"],"last_affected":[],"package":"esphome","purl":null,"source":"GHSA-4h3h-63v6-88qx"},{"ecosystem":"PyPI","fixed":["2025.12.7"],"introduced":["2025.9.0"],"last_affected":[],"package":"esphome","purl":"pkg:pypi/esphome","source":"GHSA-4h3h-63v6-88qx"},{"ecosystem":"PyPI","fixed":["2025.12.7"],"introduced":["2025.9.0"],"last_affected":[],"package":"esphome","purl":"pkg:pypi/esphome","source":"PYSEC-2026-1326"}],"prev":{"headline":"Rekor COSE v0.0.1 Canonicalize crashes when passed empty Message","id":"CVE-2026-23831"},"products":["esphome"],"published":"2026-01-19","related":[{"cvss_score":7.2,"headline":"ESPHome remote code execution via arbitrary file write","id":"CVE-2024-27081","kev_date_added":null,"published":"2024-02-26"},{"cvss_score":6.5,"headline":"ESPHome vulnerable to stored Cross-site Scripting in edit configuration file API","id":"CVE-2024-27287","kev_date_added":null,"published":"2024-03-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-20","vendors":["esphome"]},"summary":"An integer overflow in ESPHome's API decoder allows remote attackers to crash devices via malformed packets when encryption is disabled.","url":"https://insights.sbomify.com/CVE-2026-23833/"}