Skip to content
Heist/ feed
Back to feed
MediumFix available

rust-russh — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-73429

Russh is a Rust SSH client & server library. Prior to 0.62.4, a malicious SSH server can crash a russh client session with a malformed KEX_ECDH_REPLY containing a server ephemeral value that is not 32 bytes long. The client-side Curve25519Kex::compute_shared_secret function in russh/src/kex/curve25519.rs passes the decoded exchange.server_ephemeral value to clone_from_slice without validating its length, causing a deterministic panic before the server host key is verified. The panic terminates the spawned client session task and surfaces as a JoinError, while the embedding process normally remains running. 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-73429
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:55 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-73429

core-osv · Original source

Published 12 Aug 2026, 21:17 UTC

Russh is a Rust SSH client & server library. Prior to 0.62.4, a malicious SSH server can crash a russh client session with a malformed KEX_ECDH_REPLY containing a server ephemeral value that is not 32 bytes long. The client-side Curve25519Kex::compute_shared_secret function in russh/src/kex/curve25519.rs passes the decoded exchange.server_ephemeral value to clone_from_slice without validating its length, causing a deterministic panic before the server host key is verified. The panic terminates the spawned client session task and surfaces as a JoinError, while the embedding process normally remains running. This issue is fixed in version 0.62.4.

osv:DEBIAN-CVE-2026-73429

rust-russh

Fixed versions: 0.64.1-1

Complete source record
{
  "id": "1de8f4e10b7b3285182ca99d409be952bc439c8ea82f9337195342eb9b1f6974",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-73429",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-73429",
    "summary": "Russh is a Rust SSH client & server library. Prior to 0.62.4, a malicious SSH server can crash a russh client session with a malformed KEX_ECDH_REPLY containing a server ephemeral value that is not 32 bytes long. The client-side Curve25519Kex::compute_shared_secret function in russh/src/kex/curve25519.rs passes the decoded exchange.server_ephemeral value to clone_from_slice without validating its length, causing a deterministic panic before the server host key is verified. The panic terminates the spawned client session task and surfaces as a JoinError, while the embedding process normally remains running. This issue is fixed in version 0.62.4.",
    "evidence": "osv:DEBIAN-CVE-2026-73429",
    "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-73429",
      "aliases": [
        "DEBIAN-CVE-2026-73429"
      ],
      "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-73429.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-25T09:47:36.202781191Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-73429"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-73429"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-73429",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 445301,
  "published_at": "2026-08-12T21:17:41.75+00:00"
}