Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.7
CVE-2026-102822: russh library can crash when mac=none is allowed
CVE-2026-102822 · published 19 days ago
Summary
The Russh SSH client and server library (versions before 0.63.1) may let a connection request that disables message authentication (mac=none) combine with certain encryption modes, leading to a programming error that crashes the connection. This can cause service interruptions for applications using the library. Upgrade to version 0.63.1 or later to resolve the issue.
What to do
- Update eugeny russh to version 0.63.1.
- Update russh to version 0.63.1.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | eugeny | russh | < 0.63.1 |
| rust | eugeny | russh |
<= 0.63.0 Fix: upgrade to 0.63.1
|
| rust | – | russh |
<= 0.63.0 Fix: upgrade to 0.63.1
|
| Ubuntu:26.10 | canonical | rust-russh | All versions |
Original advisory text
russh: negotiating a MAC-requiring block cipher (CTR/CBC) with mac=none causes a slice-index-out-of-range panic
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.
References
- https://ubuntu.com/security/CVE-2026-102822 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-102822 Third Party Advisory
- https://github.com/Eugeny/russh/security/advisories/GHSA-p8qx-h547-fjw9 Third Party Advisory
- https://github.com/Eugeny/russh/commit/2885385abfee279092a41d80c6cb6ac367353159 Third Party Advisory
- https://github.com/Eugeny/russh/releases/tag/v0.63.1 Third Party Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-1028... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-102822
- https://github.com/advisories/GHSA-p8qx-h547-fjw9
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-129Improper Validation of Array Index
Timeline
Published29 Sep 2026
Updated19 Oct 2026
First seen29 Sep 2026
Sources
CVE-2026-102822 · NVD
CVE-2026-102822 · MITRE
CVE-2026-102822 · OSV
GHSA-p8qx-h547-fjw9 · GHSA
UBUNTU-CVE-2026-102822 · OSV
Track software like this
Free during beta