{"id":"CVE-2026-62949","published":"2026-09-16T20:00:46Z","modified":"2026-09-17T15:01:48Z","title":"AsyncSSH: asyncio event-loop freeze via SSH maximum packet size = 0 in SSH_MSG_CHANNEL_OPEN / OPEN_CONFIRMATION","vendor":"ronf","product":"asyncssh","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00389,"percentile":0.33867,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/ronf/asyncssh/security/advisories/GHSA-rw4j-r22c-9gc3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ronf/asyncssh/commit/756cbae5350789ce9735f15f704bae9b5a3608b8","tags":["x_refsource_MISC"]},{"url":"https://github.com/ronf/asyncssh/commit/9c354270c009285525e126721e8ed5fbed1f8a67","tags":["x_refsource_MISC"]},{"url":"https://github.com/ronf/asyncssh/releases/tag/v2.24.0","tags":["x_refsource_MISC"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":6.77},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"ronf","affectedVersions":[{"vendor":"ronf","product":"asyncssh","versions":["< 2.24.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-17T15:01:41.382412Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"asyncssh","vulnerableRanges":["<2.24.0"],"patched":["2.24.0"],"from":["GHSA-rw4j-r22c-9gc3","PYSEC-2026-4026"],"provenance":"source"}],"summary":{"text":"AsyncSSH, a Python asyncio-based SSHv2 client and server library, prior to 2.24.0 accepts a peer-supplied maximum packet size of zero during channel open and open-confirmation processing, which leads to an infinite synchronous loop in the channel send-buffer flush routine. An attacker with network access can trigger this by a malicious SSH server against a client before its first channel write, or by an authenticated client against a server, freezing the event loop and thereby every connection the process handles.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:21Z"},"euvd":{"id":"EUVD-2026-81093","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-45309","published":"2026-07-17","fixed":"2.23.0","kev":false},{"cve":"CVE-2026-54590","published":"2026-07-08","fixed":"2.23.1","kev":false},{"cve":"CVE-2026-54591","published":"2026-07-08","fixed":"2.23.1","kev":false,"link":{"from":"CVE-2026-54591","to":"CVE-2026-62949","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:asyncssh","fromFixed":"2.23.1","toFixed":"2.24.0","daysApart":70}]}},{"cve":"CVE-2026-62949","published":"2026-09-16","fixed":"2.24.0","kev":false}],"package":"PyPI:asyncssh"}}