{"id":"CVE-2026-116774","summary":"russh: peer-declared zero maximum packet size permanently stalls channel writes (silent AsyncWrite hang)","details":"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.","aliases":["GHSA-fw5c-8223-6h42"],"modified":"2026-10-30T02:31:01.158879543Z","published":"2026-10-27T20:25:26.914Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-400","CWE-835"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116774.json"},"references":[{"type":"WEB","url":"https://github.com/Eugeny/russh/releases/tag/v0.65.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116774.json"},{"type":"ADVISORY","url":"https://github.com/Eugeny/russh/security/advisories/GHSA-fw5c-8223-6h42"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116774"},{"type":"FIX","url":"https://github.com/Eugeny/russh/commit/39cb9dbaa37caf555d34c6c22efa3bbbff9e186c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eugeny/russh","events":[{"introduced":"54857cab01a0b5bf89b7521744a10d0610d2b208"},{"fixed":"183a22e8f8f490fa09b6eb7bd044ef99d8c4414f"},{"fixed":"39cb9dbaa37caf555d34c6c22efa3bbbff9e186c"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0.60.0"},{"fixed":"0.65.0"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"39cb9dbaa37caf555d34c6c22efa3bbbff9e186c"}]},{"range":[{"fixed":"183a22e8f8f490fa09b6eb7bd044ef99d8c4414f"}],"source":"REFERENCES_TAG","original_tag":"v0.65.0"}]}}],"versions":["v0.64.1","v0.64.0","v0.63.3","v0.63.2","v0.63.1","v0.63.0","v0.63.0-beta.1","v0.62.7","v0.62.6","v0.62.5","v0.62.4","v0.62.3","v0.62.2","v0.62.1","v0.62.0","v0.61.2","v0.61.1","v0.61.0","v0.60.3","v0.60.2","v0.60.1","v0.60.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116774.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"}]}