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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ronf | asyncssh | < 2.24.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-asyncssh | No fix yet | — |
| Debian 13 | python-asyncssh | No fix yet | — |
| Debian 12 | python-asyncssh | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-asyncssh | No fix yet | — |
| Ubuntu 26.04 LTS | python-asyncssh | No fix yet | — |
| Ubuntu 20.04 LTS | python-asyncssh | No fix yet | — |
| Ubuntu 16.04 LTS | python-asyncssh | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | python-asyncssh | No fix yet | — |
| Ubuntu Pro 22.04 LTS | python-asyncssh | No fix yet | — |
| Ubuntu Pro 18.04 LTS | python-asyncssh | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-asyncssh | 2.24.0-1.1 | openSUSE-SU-2026:11851-1 |
| openSUSE Leap 16.0 | python-asyncssh | 2.21.0-bp160.2.1 | openSUSE-SU-2026:21953-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | asyncssh | < 2.24.0 | 2.24.0 | GHSA-rw4j-r22c-9gc3 |
Advisories 2
- openSUSE-SU-2026:21953-1 Security update for python-asyncssh SUSE / openSUSE Security Updates · Sep 25, 2026
- openSUSE-SU-2026:11851-1 python313-asyncssh-2.24.0-1.1 on GA media SUSE / openSUSE Security Updates · Sep 23, 2026