CVE-2026-102822Eugeny russh
Low 3.7 No auth needed
Follow: this CVE · Eugeny · Eugeny russh We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 3.1
- 3.7
- EPSS
- —
- Auth required
- No
- Published
- Sep 29, 2026
- Updated
- Sep 29, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-129
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
Russh is a Rust SSH client and server library. Prior to 0.63.1, a connection configured to permit mac=none can negotiate it with a MAC-requiring CTR or CBC block cipher because the selection logic validates needs_mac() only when MAC selection fails. A remote peer can then send a packet with a decrypted length of zero, causing russh/src/cipher/mod.rs to shrink the previously read block before indexing buffer.buffer[16..], which panics and terminates the connection task. This issue is fixed in version 0.63.1.
What to do
- Apply the vendor's security update for russh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | russh |
< 0.63.1 |
0.63.1 |
cargo update -p russh --precise 0.63.1 |
Per OSV / GitHub Advisories (GHSA-p8qx-h547-fjw9). Check the version in your lockfile before upgrading.
Affected products
- Eugeny · russh
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.