rust-russh — security advisory
Russh is a Rust SSH client & server library. Prior to 0.62.4, an unauthenticated SSH client can cause a denial of service by sending SSH_MSG_KEX_ECDH_INIT with a 32-byte all-zero Q_C value. Curve25519Kex::server_dh in russh/src/kex/curve25519.rs accepts the all-zero peer public value and computes an all-zero shared secret, after which compute_exchange_hash calls encode_mpint in russh/src/kex/mod.rs and indexes beyond the end of the input while skipping leading zero bytes. The resulting panic occurs before authentication and terminates the server key-exchange task. This issue is fixed in version 0.62.4.
- Products
- rust-russh
- Affected versions
- 0.57.1-1, 0.57.1-2
- Fixed versions
- 0.64.1-1
- CVEs
- CVE-2026-73430
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:57 UTC · Revision 1
Source evidence
Russh is a Rust SSH client & server library. Prior to 0.62.4, an unauthenticated SSH client can cause a denial of service by sending SSH_MSG_KEX_ECDH_INIT with a 32-byte all-zero Q_C value. Curve25519Kex::server_dh in russh/src/kex/curve25519.rs accepts the all-zero peer public value and computes an all-zero shared secret, after which compute_exchange_hash calls encode_mpint in russh/src/kex/mod.rs and indexes beyond the end of the input while skipping leading zero bytes. The resulting panic occurs before authentication and terminates the server key-exchange task. This issue is fixed in version 0.62.4.
osv:DEBIAN-CVE-2026-73430
rust-russh
Fixed versions: 0.64.1-1
Complete source record
{
"id": "f6a4347d0ccc8bed49379988fb340a5229cabc39db20fe9e97029a3816137df0",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-73430",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-73430",
"summary": "Russh is a Rust SSH client & server library. Prior to 0.62.4, an unauthenticated SSH client can cause a denial of service by sending SSH_MSG_KEX_ECDH_INIT with a 32-byte all-zero Q_C value. Curve25519Kex::server_dh in russh/src/kex/curve25519.rs accepts the all-zero peer public value and computes an all-zero shared secret, after which compute_exchange_hash calls encode_mpint in russh/src/kex/mod.rs and indexes beyond the end of the input while skipping leading zero bytes. The resulting panic occurs before authentication and terminates the server key-exchange task. This issue is fixed in version 0.62.4.",
"evidence": "osv:DEBIAN-CVE-2026-73430",
"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-73430",
"aliases": [
"DEBIAN-CVE-2026-73430"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/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-73430.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-25T09:47:42.966609330Z",
"provider": "osv",
"upstream": [
"CVE-2026-73430"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-73430"
]
},
"related_cves": [
{
"value": "CVE-2026-73430",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 445410,
"published_at": "2026-08-12T21:17:41.883+00:00"
}