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

- 種別: advisory
- 重大度: medium
- 関連技術: rust
- CVE: CVE-2026-116774
- 公開日時: 2026-10-30T22:58:53.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-fw5c-8223-6h42)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-fw5c-8223-6h42

影響: rust:russh >= 0.60.0, <= 0.64.1 → 0.65
A peer can advertise maximum packet size = 0 in its channel-open message (CHANNEL_OPEN when attacking a server, CHANNEL_OPEN_CONFIRMATION when attacking a client). russh accepts the value without validation and copies it into the channel write state, where it caps the size of every outgoing data chunk. In the AsyncWrite code path (ChannelTx::poll_writable, used by Channel::data(), Channel::make_writer() and Channel::into_stream()), a cap of 0 makes every write future stay Poll::Pending forever:…