Skip to main content
VulnerabilityPublished Updated

CVE-2026-64847: Coconut · AnyIO process-pool workers can block indefinitely on undrained stderr

Affects coconutSource GCVE Database

0
Compare
Authoritative record:CVE-2026-64847· Medium 6.8

Not known to be exploited · CVSS 6.8 Medium : upgrade to 3.2.0_3 when convenient.

Data as of 2 Dec 2026, 21:49 UTC

CVSS 4.0 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.2.0_3, 4.14.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2 Dec 2026.

What to do

Upgrade coconut to 3.2.0_3; anyio to 4.14.2.

Affected software

ProductAffectedFixed in
Homebrewcoconutpkg:brew/coconutOther threatsAffected
  • >=3.0.4 <3.2.0_3
Fixed in
  • 3.2.0_3
PyPIanyiopkg:pypi/anyioOther threatsAffected
  • <4.14.2
Fixed in
  • 4.14.2

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 Coconut version 3.2.0_3 that fixes this issue. Users should upgrade to this version or later. As a workaround, closing sys.stderr in the target function can prevent the deadlock caused by the filled stderr pipe.

Description

AnyIO's process-pool workers have a flaw where stderr is connected to a pipe that is never drained. While stdin and stdout are redirected to /dev/null, stderr is not, contrary to documentation. If worker code writes enough data to stderr, the pipe can fill and block, causing the process-pool call to hang. This affects users running untrusted or faulty code that writes extensively to stderr. The issue is fixed in version 3.2.0_3. A workaround is to close sys.stderr in the target function to prevent deadlock.

References

Community reviews

Loading reviews…