Skip to main content

CVE-2026-64847 — Vulnerability in anyio — CVE Details

MEDIUM

AnyIO process-pool workers can block indefinitely on undrained stderr

Published September 18, 2026Updated October 1, 2026Source: OSV

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.

Check my requirements.txt

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
Update anyio to 4.14.2 or later
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).

PackageFixed 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-770
    Allocation of Resources Without LimitsMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.5 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

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

CVSS Score
5.5

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.16%
EPSS percentile: 2.8

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

GHSA-5p39-cfhj-2xmp
PYSEC-2026-4024

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my requirements.txt