CVE-2026-116774: russh: peer-declared zero maximum packet size permanently stalls channel writes (silent AsyncWrite hang)

Published Oct 27, 2026
·
Updated

russh is a Rust SSH client and server library that includes an SSH agent protocol implementation. From 0.60.0 until 0.65.0, channel-open parsing accepts a peer-declared maximumpacketsize of zero and passes it into ChannelTx::pollwritable in russh/src/channels/io/tx.rs. The Channel::data, Channel::makewriter, and Channel::intostream asynchronous write paths then calculate a writable size of zero and remain pending forever because window adjustments cannot satisfy a static zero packet maximum. An authenticated client can strand server writes, and a malicious server can strand client writes, allowing affected tasks, channels, and connections to accumulate without surfacing an error. This issue is fixed in version 0.65.0.

Affected Software

1 affected component
crates.io/russh>=0.60.0<0.65.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade russh to a version that resolves this vulnerability.

    Fixed in 0.65.0

Event History

Oct 27, 2026
CVE Published
via MITRE·08:25 PM
Data Sourced
via MITRE·08:25 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using russh versions from 0.60.0 up to, but not including, 0.65.0 are affected. Both client and server uses are exposed: an authenticated client can stall server writes, and a malicious server can stall client writes.

2

What must an attacker be able to do?

The attacker must be able to act as the SSH peer and declare a maximum packet size of zero during channel opening. Exploitation requires authentication when targeting a russh server; when targeting a russh client, the peer is a malicious server.

3

What is the operational impact of exploitation?

Affected asynchronous write operations can remain pending forever without returning an error. Tasks, channels, and connections can accumulate, resulting in availability degradation.

4

How can this be remediated?

Upgrade russh to version 0.65.0, which fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203