Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-116774 EUVD-2026-111389GHSA-fw5c-8223-6h42

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

Published Oct 27, 2026 · Updated Oct 28, 2026 · Assigned by GitHub_M

Description

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 maximum_packet_size of zero and passes it into ChannelTx::poll_writable in russh/src/channels/io/tx.rs. The Channel::data, Channel::make_writer, and Channel::into_stream 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 products

VendorProductAffectedFixed
Eugeny russh >= 0.60.0, < 0.65.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.

ReleasePackageFixed inAdvisory
Debian 14 rust-russh No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-russh No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 openshell +2 0.1.6-0.1.hum1 RHSA-2026:93904

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling yazi 26.9.1-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io russh >= 0.60.0, < 0.65 0.65 GHSA-fw5c-8223-6h42

Advisories 1

References