CVE-2026-62949AsyncSSH: asyncio event-loop freeze via SSH maximum packet size = 0 in…
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.
What to do
Fixed builds are available from PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-62949 | |
| Ubuntu 26.04 | python-asyncssh | Under investigation | UBUNTU-CVE-2026-62949 | |
| Ubuntu 24.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-62949 | |
| Ubuntu 22.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-62949 | |
| Ubuntu 20.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-62949 | |
| Ubuntu 18.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-62949 | |
| Ubuntu 16.04 | python-asyncssh | Fix pending | UBUNTU-CVE-2026-62949 | |
| Debian 14 | python-asyncssh | Fix pending | DEBIAN-CVE-2026-62949 | |
| Debian 13 | python-asyncssh | Fix pending | DEBIAN-CVE-2026-62949 | |
| Debian 12 | python-asyncssh | Fix pending | DEBIAN-CVE-2026-62949 | |
| PyPI library | asyncssh | Fixed | 2.24.0 | PYSEC-2026-4026 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ronf asyncssh: affected: < 2.24.0
References
- https://github.com/ronf/asyncssh/security/advisories/GHSA-rw4j-r22c-9gc3
- https://github.com/ronf/asyncssh/commit/756cbae5350789ce9735f15f704bae9b5a3608b8
- https://github.com/ronf/asyncssh/commit/9c354270c009285525e126721e8ed5fbed1f8a67
- https://github.com/ronf/asyncssh/releases/tag/v2.24.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.