Skip to main content

AnyIO EUVDEUVD-2026-83193

| CVE-2026-64847 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-09-18 GitHub_M GHSA-5p39-cfhj-2xmp
6.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply oversized error-triggering input to worker
  2. Delivery
    Worker floods sys.stderr past pipe buffer
  3. Exploit
    Undrained parent pipe blocks worker write
  4. Execution
    Worker never returns stdout protocol response
  5. Impact
    Process-pool call deadlocks, worker/pool exhausted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires that the application uses AnyIO's process-pool API (to_process.run_sync) AND runs worker functions that write substantial data to sys.stderr - specifically enough to exceed the pipe buffer (~64KiB, per the fix's test). The advisory states 'Anyone who runs untrusted or faulty code that writes too much to stderr is at risk,' so the concrete prerequisite is a worker whose stderr output volume can be influenced by an attacker (e.g. verbose tracebacks/logging driven by malicious input). Limiting factors: the flaw is confined to AnyIO's process-pool workers (asyncio/trio backends), affects only versions <4.14.2, has no effect on applications that do not use to_process or that already redirect/close worker stderr, and impact is limited to a hang (availability) with no data exposure or code execution. The documented workaround (closing sys.stderr in the target function) neutralizes the deadlock.

Impact

The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H, score 6.8) correctly frames this as a purely availability-impacting, locally-scoped flaw with no confidentiality or integrity effect - consistent with CWE-770 and the 'Denial Of Service' tag. This is NOT a remotely weaponizable, unauthenticated critical bug: exploitation is fully gated on an application choosing to run untrusted or faulty worker code via AnyIO's process pool (to_process.run_sync) that emits large volumes of standard-error output. There is no EPSS score, no CISA KEV listing, and no standalone public exploit; the only public artifact is a regression test embedded in the fix PR (writing 1MiB to stderr to prove the deadlock). SSVC framing: exploitation is 'none' observed, technical impact is limited to availability (a wedged coroutine/pool), and it is not automatable against arbitrary internet-facing targets because it requires the specific to_process worker deployment pattern. Net: this is a real robustness/hardening fix that matters for platforms executing semi-trusted plugin/worker code, but it is a low-to-moderate operational priority rather than an emergency - high raw exposure of the AnyIO dependency, but a narrow trigger path. Note the vendor uses AV:L (local); the 'attacker-influenced data' can originate remotely if the app feeds network input into a worker, but the vulnerable surface itself is the local process-pool boundary - treat AV:L as the honest characterization.

Exploit ScenarioDerived

An application uses AnyIO's process pool (to_process.run_sync) to execute worker code that processes attacker-influenced input, and that worker writes a large amount of data to sys.stderr (e.g. verbose error/traceback output driven by malicious input). The attacker supplies input that causes the worker to emit more than the ~64KiB pipe buffer to stderr; because the parent never drains that pipe, the worker blocks on the write before it can return its stdout protocol response, and the awaiting process-pool call hangs indefinitely, exhausting the worker/pool. No standalone public exploit exists - only a regression test in the fix PR demonstrates the deadlock.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 18, 2026

Denial of service in AnyIO versions prior to 4.14.2: the process-pool implementation behind to_process.run_sync() starts worker processes with stderr wired to a pipe that the parent never drains, so a worker that writes more than the roughly 64 KiB pipe buffer to sys.stderr blocks on write() before it can return its stdout protocol response, leaving the awaiting process-pool call hung indefinitely. Applications are exposed only if they actually use AnyIO's process pool and run worker functions whose stderr volume can be driven by untrusted or faulty input - for example verbose tracebacks or logging produced by attacker-influenced data - while code paths that never touch to_process, or that already close/redirect worker stderr, are unaffected. Impact is limited to availability (hang), with no confidentiality, integrity, or code-execution effect, and per the vendor and independent assessment this is a local, low-privilege-scoped flaw (CVSS:4.0 AV:L/PR:L and CVSS:3.1 AV:L/PR:L, A:H); no public exploit code exists and no active exploitation has been confirmed (no public exploit identified at time of analysis).

RemediationAI

Upgrade to the vendor-released patch, AnyIO 4.14.2 or later (for example pip install "anyio>=4.14.2"), which fixes the flaw by adding sys.stderr = open(os.devnull, "w") inside process_worker() so worker stderr matches the documented redirection behavior; the change is tracked in PR https://github.com/agronholm/anyio/pull/1207, commit https://github.com/agronholm/anyio/commit/f1b7301c8264b0d2e8d24a5788fd29e93dea4040 and the 4.14.2 release, with advisory details at https://github.com/agronholm/anyio/security/advisories/GHSA-5p39-cfhj-2xmp. If upgrading is not immediately possible, the documented workaround is to close sys.stderr at the top of the target worker function, which prevents the undrained-pipe deadlock at the cost of discarding all worker stderr diagnostics and tracebacks (degrading observability and making worker failures harder to debug); the same trade-off applies if you instead wrap worker functions to redirect stderr to os.devnull or a drained sink yourself. Additional compensating controls include capping or sanitizing how much attacker-influenced text (exception messages, logged payloads) a worker can emit, avoiding logging of raw untrusted input inside process-pool workers, and wrapping to_process.run_sync() calls in an explicit timeout so a wedged worker surfaces as a bounded timeout rather than an indefinite hang (side effect: legitimate long-running worker tasks must have their timeouts tuned or they will be aborted). Note that these mitigations reduce exposure but do not change the underlying pipe-buffer defect; only 4.14.2+ does.

Affected VersionsENISA

anyio < 4.14.2

Affected Packages

pypi anyio fix: 4.14.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

AnyIO is a Python asynchronous concurrency and networking framework that abstracts over both Trio and asyncio backends and provides a process pool via to_process.run_sync()/anyio.to_process for running synchronous functions in worker processes. In anyio/to_process.py the process_worker() entry point redirects stdin and stdout (notably to /dev/null) to keep the stdout channel clean for its length-prefixed protocol response, but before the fix it left sys.stderr connected to a pipe the parent never reads. This is a classic CWE-770 (Allocation of Resources Without Limits or Throttling) failure: a bounded, unmanaged kernel pipe buffer (~64 KiB on Linux) accumulates unbounded worker output with no draining consumer, so once the buffer is full the worker's blocking write to stderr never returns and the parent coroutine awaiting the future waits forever. The CPE cpe:2.3:a:agronholm:anyio:*:*:*:*:*:*:*:* reflects that all packaged releases before 4.14.2 carry the flawed worker, irrespective of the underlying event loop; the root cause is purely in the parent/worker stream plumbing described in the advisory's misleading documentation claiming all three standard streams are redirected.

Know when Anyio gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.8 MEDIUM
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
vuln.today AI 5.5 MEDIUM

Trigger is the local process-pool worker boundary and requires the app to run worker code (PR:L/AV:L); impact is a pure availability deadlock with no confidentiality or integrity effect.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 18, 2026 - 18:03 EUVD
CVE Published
Sep 18, 2026 - 17:04 cve.org
MEDIUM 6.8

DescriptionCVE.org

AnyIO is a high level asynchronous concurrency and networking framework that works on top of either Trio or asyncio. Prior to 4.14.2, AnyIO starts process-pool workers with standard error connected to a pipe that the parent never drains, even though the documented behavior redirects all three standard streams. Worker code that writes enough attacker-influenced data to sys.stderr can fill the pipe and block before returning the standard-output protocol response, causing the awaiting process-pool call to remain blocked indefinitely. Applications that run untrusted or faulty worker code capable of producing substantial standard-error output are affected. This issue is fixed in version 4.14.2.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 448 pypi packages depend on anyio (64 direct, 390 indirect)

Ecosystem-wide dependent count for version 4.14.2.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
AnyIO is a foundational async dependency (Starlette/FastAPI/httpx), though the to_process path is narrow
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise Module for Python 3 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4 SUSE Linux Enterprise Module for Public Cloud 15 SP4 SUSE Linux Enterprise Server 15 SP4 SUSE Manager Proxy 4.3 SUSE Manager Retail Branch Server 4.3 SUSE Manager Server 4.3 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy