# CVE-2026-62949: AsyncSSH: asyncio event-loop freeze via SSH maximum packet size = 0 in SSH_MSG_CHANNEL_OPEN / OPEN_CONFIRMATION

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-09-16T20:00:46.657Z
- Modified: 2026-10-01T17:55:57.395Z
- Also known as: GHSA-rw4j-r22c-9gc3, PYSEC-2026-4026
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ronf asyncssh: < 2.24.0
- asyncssh (PyPI): before 2.24.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ronf/asyncssh/security/advisories/GHSA-rw4j-r22c-9gc3> (web)
- <https://github.com/ronf/asyncssh/commit/756cbae5350789ce9735f15f704bae9b5a3608b8> (web)
- <https://github.com/ronf/asyncssh/commit/9c354270c009285525e126721e8ed5fbed1f8a67> (web)
- <https://github.com/ronf/asyncssh/releases/tag/v2.24.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-62949> (advisory)
- <https://github.com/ronf/asyncssh> (package)
- <https://pypi.org/project/asyncssh> (package)
- <https://github.com/advisories/GHSA-rw4j-r22c-9gc3> (advisory)

## Sources

- CVE List: [CVE-2026-62949](https://www.cve.org/CVERecord?id=CVE-2026-62949), CVE Terms of Use, modified 2026-09-17
- GitHub Advisory Database: [GHSA-rw4j-r22c-9gc3](https://github.com/advisories/GHSA-rw4j-r22c-9gc3), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-62949](https://nvd.nist.gov/vuln/detail/CVE-2026-62949), Public domain, modified 2026-09-30
- PyPA Advisory Database: [PYSEC-2026-4026](https://osv.dev/vulnerability/PYSEC-2026-4026), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-62949 · Whole record: https://cve.day/CVE-2026-62949.json · Rebuilt by cve.day 2026-11-25T22:59:39.113Z
