CVE-2026-64847: Esphome · AnyIO process-pool workers can block indefinitely on undrained stderr
Affects esphomeSource GCVE Database
Not known to be exploited · CVSS 6.8 Medium : upgrade to 2026.7.0 or 2023.10.0 when convenient.
Data as of 5 Nov 2026, 19:51 UTC
- Patch
- Available – fixed in 2026.7.0, 2023.10.0
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Upgrade esphome to 2026.7.0 or 2023.10.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewesphomepkg:brew/esphomeOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Esphome versions 2023.10.0 and 2026.7.0 that resolves this issue. Users should upgrade to these versions or later. As a workaround, closing sys.stderr in the target function can prevent the deadlock until the patch is applied.
Description
Esphome versions from 2022.1.2 up to but not including 2023.10.0 and from 2024.2.1 up to but not including 2026.7.0 contain a vulnerability in AnyIO process-pool workers where stderr is not drained. This can cause the worker to block indefinitely if too much data is written to stderr, potentially causing a deadlock. The issue is patched in versions 2023.10.0 and 2026.7.0. A workaround is to close sys.stderr in the target function to prevent deadlock.
References
- github.com/agronholm/anyio/security/advisories/GHSA-5p39-cfhj-2xmp (opens in a new tab)
- github.com/agronholm/anyio/pull/1207 (opens in a new tab)
- github.com/agronholm/anyio/commit/f1b7301c8264b0d2e8d24a5788fd29e93dea4040 (opens in a new tab)
- github.com/agronholm/anyio (opens in a new tab)
- github.com/agronholm/anyio/releases/tag/4.14.2 (opens in a new tab)