CVE-2026-62949: ronf asyncssh · Infinite Loop
Affects ronf asyncsshSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium : upgrade to 2.24.0 when convenient.
Data as of 31 Oct 2026, 08:20 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.24.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 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 30 Oct 2026.
What to do
Upgrade ronf asyncssh to 2.24.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ronfasyncssh | Affected
| Fixed in
|
PyPIasyncsshpkg:pypi/asyncsshOther 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
Upgrade AsyncSSH to version 2.24.0 or later, where this infinite loop vulnerability is fixed. No other mitigation is indicated or required.
Description
AsyncSSH is a Python package which provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework. Prior to 2.24.0, _process_channel_open and _process_channel_open_confirmation in asyncssh/connection.py accept a peer-supplied send_pktsize value of zero. When channel data reaches SSHChannel._flush_send_buf in asyncssh/channel.py, the zero value causes each loop iteration to slice and remove zero bytes without reducing the send window, leaving the synchronous loop permanently true with no await point. A malicious SSH server can trigger the client path through SSH_MSG_CHANNEL_OPEN_CONFIRMATION before the first channel write, while an authenticated client can trigger the server path through SSH_MSG_CHANNEL_OPEN and freeze every current and future connection handled by the process. This vulnerability is fixed in 2.24.0.
References
- github.com/ronf/asyncssh/security/advisories/GHSA-rw4j-r22c-9gc3 (opens in a new tab)
- github.com/ronf/asyncssh/commit/756cbae5350789ce9735f15f704bae9b5a3608b8 (opens in a new tab)
- github.com/ronf/asyncssh/commit/9c354270c009285525e126721e8ed5fbed1f8a67 (opens in a new tab)
- github.com/ronf/asyncssh/releases/tag/v2.24.0 (opens in a new tab)