Intel

AIKIDO-2026-590021

net-ssh is vulnerable to Denial of Service (DoS)

GHSA-pfqh-p9vh-wx4pPublished Oct 6, 2026
October 6, 2026

58

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The transport packet reader uses the 4-byte wire packet length directly to size the receive buffer without capping it against the RFC 4253 35000-byte limit. Before authentication completes, a malicious server can declare an arbitrarily large packet length and stream data, so the client allocates memory without a bound. The fix rejects any declared packet length above the RFC 4253 maximum.

How do I fix this?

Upgrade the net-ssh library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you connect to an SSH server that is malicious or compromised.

Package

Versions

0.0.1 - 7.3.4

Fixed in 7.3.5

Background info

net-ssh is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 7.3.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea