CVE-2026-62949
CVE-2026-62949 · AsyncSSH: asyncio event-loop freeze via SSH maximum packet size = 0 in SSH_MSG_CHANNEL_OPEN / OPEN_CONFIRMATION
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.5 · Medium · EPSS 0.4% · Fix available
- Published
- Updated
Affected products and versions
asyncssh
- Versions
- < 2.24.0: Affected
No fix published
python-asyncssh Debian:12
- Versions
- 2.10.1-2
- 2.10.1-2+deb12u1
- 2.10.1-2+deb12u2
- 2.15.0-1
- 2.16.0-1
- 2.17.0-1
- 2.17.0-2
- 2.18.0-1
- 2.19.0-1
- 2.20.0-1
- 2.21.0-1
- 2.21.1-1
- 2.22.0-1
- 2.22.0-2
- 2.23.0-1
- 2.24.0-1
- 2.24.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-asyncssh Debian:13
- Versions
- 2.20.0-1
- 2.21.0-1
- 2.21.1-1
- 2.22.0-1
- 2.22.0-2
- 2.23.0-1
- 2.24.0-1
- 2.24.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-asyncssh Debian:14
- Versions
- 2.20.0-1
- 2.21.0-1
- 2.21.1-1
- 2.22.0-1
- 2.22.0-2
- 2.23.0-1
- 2.24.0-1
- 2.24.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
asyncssh PyPI
- Versions
- 0.8.1
- 0.8.2
- 0.8.3
- 0.8.4
- 0.9.0
- 0.9.1
- 0.9.2
- 1.0.0
- 1.0.1
- 1.1.0
- 1.1.1
- 1.10.0
- 1.10.1
- 1.11.0
- 1.11.1
- 1.12.0
- 1.12.1
- 1.12.2
- 1.13.0
- 1.13.1
- 1.13.2
- 1.13.3
- 1.14.0
- 1.15.0
- 1.15.1
- 1.16.0
- 1.16.1
- 1.17.0
- 1.17.1
- 1.18.0
- 1.2.0
- 1.2.1
- 1.3.0
- 1.3.1
- 1.3.2
- 1.4.0
- 1.4.1
- 1.5.0
- 1.5.1
- 1.5.2
- 1.5.3
- 1.5.4
- 1.5.5
- 1.5.6
- 1.6.0
- 1.6.1
- 1.6.2
- 1.7.1
- 1.7.2
- 1.7.3
- 1.8.0
- 1.8.1
- 1.9.0
- 2.0.0
- 2.0.1
- 2.1.0
- 2.10.0
- 2.10.1
- 2.11.0
- 2.12.0
- 2.13.0
- 2.13.1
- 2.13.2
- 2.14.0
- 2.14.1
- 2.14.2
- 2.15.0
- 2.16.0
- 2.17.0
- 2.18.0
- 2.19.0
- 2.2.0
- 2.2.1
- 2.20.0
- 2.21.0
- 2.21.1
- 2.22.0
- 2.23.0
- 2.23.1
- 2.3.0
- 2.4.0
- 2.4.1
- 2.4.2
- 2.5.0
- 2.6.0
- 2.7.0
- 2.7.1
- 2.7.2
- 2.8.0
- 2.8.1
- 2.9.0
- Affected ranges
- ECOSYSTEM: < 2.24.0
Update to 2.24.0
python-asyncssh Ubuntu:16.04:LTS
- Versions
- 1.2.0-1
- 1.2.1-1
- 1.3.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-asyncssh Ubuntu:Pro:18.04:LTS
- Versions
- 1.8.1-2
- 1.11.0-2
- 1.11.1-1
- 1.11.1-1ubuntu0.1~esm1
- 1.11.1-1ubuntu0.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-asyncssh Ubuntu:20.04:LTS
- Versions
- 1.12.2-1
- 1.12.2-1ubuntu0.1
- 1.12.2-1ubuntu0.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-asyncssh Ubuntu:Pro:22.04:LTS
- Versions
- 2.5.0-1
- 2.5.0-1ubuntu0.1~esm1
- 2.5.0-1ubuntu0.1
- 2.5.0-1ubuntu0.1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-asyncssh Ubuntu:Pro:24.04:LTS
- Versions
- 2.10.1-2
- 2.10.1-2ubuntu0.1
- 2.10.1-2ubuntu0.1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-asyncssh Ubuntu:26.10
- Versions
- 2.21.1-1
- 2.23.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
python-asyncssh Ubuntu:26.04:LTS
- Versions
- 2.20.0-1
- 2.21.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-62949