GO-2026-5016

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

At a glance

Published
Updated
CVE
CVE-2026-39827
Aliases
GHSA-qpw4-5x99-6vjp

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 packages

PackageVersions
Go · golang.org/x/cryptointroduced 0, fixed 0.52.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database