CVE-2026-102822
LOW 3.7CVSS 3.1russh: 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.
- Published
- 29 Sep 2026
- Last modified
- 30 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-129
- Also known as
- GHSA-p8qx-h547-fjw9
- Sources
- NVDJSONOSV GHSA-p8qx-h547-fjw9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | russh | < 0.63.1 | 0.63.1 |
References
- https://github.com/Eugeny/russh/commit/2885385abfee279092a41d80c6cb6ac367353159 · WEB
- https://github.com/Eugeny/russh/releases/tag/v0.63.1 · WEB
- https://github.com/Eugeny/russh/security/advisories/GHSA-p8qx-h547-fjw9 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-102822 · ADVISORY
- https://github.com/Eugeny/russh · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 29 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Sep 2026)