CVE-2026-64847 — Vulnerability in anyio — CVE Details
AnyIO process-pool workers can block indefinitely on undrained stderr
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.16%). Schedule for your next planned update.
Does your project use an affected anyio version?
Paste your requirements.txt to check it for CVE-2026-64847 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
AnyIO starts process-pool workers with stderr connected to a pipe but never drains that pipe. The worker redirects stdin and stdout to /dev/null to protect its protocol, but does not redirect stderr even though the documentation says all three standard streams are redirected. Worker code that writes enough attacker-influenced data to stderr can fill the pipe, block before returning the stdout protocol response, and wedge the awaiting process-pool call.
Anyone who runs untrusted or faulty code that writes too much to stderr is at risk.
Patches
This vulnerability will be patched in v4.14.2.
Workarounds
Closing sys.stderr in the target function should at least prevent the deadlock.
Advisory Timeline
- First published September 18, 2026 (69 days ago).
- Last revised October 1, 2026 — 13 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "anyio>=4.14.2"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| anyio PyPI · Affected: 1.0.0, 1.0.0a1, 1.0.0a2, 1.0.0b1 (+65 more) | 4.14.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-770Allocation of Resources Without LimitsMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.5 score means for each attack dimension.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/agronholm/anyio/security/advisories/GHSA-5p39-cfhj-2xmpWEB
- https://github.com/agronholm/anyio/pull/1207WEB
- https://github.com/agronholm/anyio/commit/f1b7301c8264b0d2e8d24a5788fd29e93dea4040WEB
- https://github.com/agronholm/anyioPACKAGE
- https://github.com/agronholm/anyio/releases/tag/4.14.2WEB
Frequently Asked Questions
- What is CVE-2026-64847?
- AnyIO process-pool workers can block indefinitely on undrained stderr. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.5/10).
- How do I check if my project is affected by CVE-2026-64847?
- CVE-2026-64847 affects anyio. It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-64847 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 2.8% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-63374CRITICAL
AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
- CVE-2026-63374CRITICAL
AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
- CVE-2026-129221MEDIUM
NLTK: ARFF_Formatter Injects Weka ARFF Schema Directives via Attacker-Controlled Class Labels
- CVE-2026-128140MEDIUM
NLTK: Downloader cyclic collection indices cause an infinite closure walk