CVE-2026-39827

Invoking memory leak when rejecting channels can lead to DoS in golang.org/x/crypto/ssh

MEDIUM
6.5
CVSS Score
Published: May 22, 2026 at 02:31 AM UTC
Updated: July 23, 2026 at 07:32 PM UTC
2 products affected across 2 vendorsCryptoSSH

Using golang.org/x/crypto/ssh by golang.org/x/crypto?

Get instant alerts when new vulnerabilities affect golang.org/x/crypto/ssh - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

An authenticated SSH client that repeatedly opened channels which were rejected by the server caused unbounded memory growth, eventually crashing the server process and affecting all connected users. Rejected channels are now properly removed from the connection's internal state and released for garbage collection.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.52.0
Affected range stops below 0.52.0, so it looks safe — our inference, not a vendor statement
v < 0.52.0
Affected range stops below 0.52.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (4)

Issue Tracking
Source: cverecord
https://go.dev/issue/35127
Issue Tracking
Source: cverecord
https://go.dev/cl/781320
Vendor Advisory
Source: cverecord
https://pkg.go.dev/vuln/GO-2026-5016

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-924

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card