rust-russh — security advisory
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.
- Products
- rust-russh
- Affected versions
- 0.57.1-1, 0.57.1-2
- Fixed versions
- 0.64.1-1
- CVEs
- CVE-2026-102822
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 12:15 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2026-102822
rust-russh
Fixed versions: 0.64.1-1
Complete source record
{
"id": "f8b76dc185b90bf4edb1779f53d752e39975c5725ad97cc5664357390a915a6a",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-102822",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-102822",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-102822",
"products": [
{
"name": {
"value": "rust-russh",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.64.1-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "0.57.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.57.1-2",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "low",
"structured": {
"id": "DEBIAN-CVE-2026-102822",
"aliases": [
"DEBIAN-CVE-2026-102822"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.64.1-1"
}
]
}
],
"package": {
"name": "rust-russh",
"purl": "pkg:deb/debian/rust-russh?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"0.57.1-1",
"0.57.1-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-102822.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-14T16:00:05.980548637Z",
"provider": "osv",
"upstream": [
"CVE-2026-102822"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-102822"
]
},
"related_cves": [
{
"value": "CVE-2026-102822",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 316438,
"published_at": "2026-09-29T19:17:24.19+00:00"
}