rust-russh — security advisory
Russh is a Rust SSH client & server library. From version 0.37.0 to before version 0.61.0, in the russh client keyboard-interactive authentication path, a malicious SSH server could send a USERAUTH_INFO_REQUEST with an attacker-controlled prompt count, and the client would use that raw count directly in Vec::with_capacity(...) before validating that enough prompt data was actually present in the packet. This issue has been patched in version 0.61.0.
- Products
- rust-russh
- Affected versions
- 0.57.1-1, 0.57.1-2
- Fixed versions
- 0.64.1-1
- CVEs
- CVE-2026-48107
- 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 & server library. From version 0.37.0 to before version 0.61.0, in the russh client keyboard-interactive authentication path, a malicious SSH server could send a USERAUTH_INFO_REQUEST with an attacker-controlled prompt count, and the client would use that raw count directly in Vec::with_capacity(...) before validating that enough prompt data was actually present in the packet. This issue has been patched in version 0.61.0.
osv:DEBIAN-CVE-2026-48107
rust-russh
Fixed versions: 0.64.1-1
Complete source record
{
"id": "571ca4775eef084b1603d777725f9cfe6c4c7a3e09d6f76bc93d4a09eb53aada",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-48107",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-48107",
"summary": "Russh is a Rust SSH client & server library. From version 0.37.0 to before version 0.61.0, in the russh client keyboard-interactive authentication path, a malicious SSH server could send a USERAUTH_INFO_REQUEST with an attacker-controlled prompt count, and the client would use that raw count directly in Vec::with_capacity(...) before validating that enough prompt data was actually present in the packet. This issue has been patched in version 0.61.0.",
"evidence": "osv:DEBIAN-CVE-2026-48107",
"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": "medium",
"structured": {
"id": "DEBIAN-CVE-2026-48107",
"aliases": [
"DEBIAN-CVE-2026-48107"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"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-48107.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-14T16:00:16.548426008Z",
"provider": "osv",
"upstream": [
"CVE-2026-48107"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-48107"
]
},
"related_cves": [
{
"value": "CVE-2026-48107",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 316446,
"published_at": "2026-06-10T22:17:00.983+00:00"
}