CVE-2026-39827
JSON

6.5medium

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

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.28% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GHSA-qpw4-5x99-6vjpGO-2026-5016

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

Product or packageVersionsReported by
golang.org/x/crypto/sshbefore 0.52.0CVE List
golang.org/x/crypto (Go)before 0.52.0GitHub Advisory Database, Go Vulnerability Database
golang cryptobefore 0.52.0NVD

All scores

CISA-ADP6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401CWE-924

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Un cliente SSH autenticado que abría repetidamente canales que eran rechazados por el servidor causó un crecimiento descontrolado de la memoria, lo que finalmente provocó la caída del proceso del servidor y afectó a todos los usuarios conectados. Los canales rechazados ahora se eliminan correctamente del estado interno de la conexión y se liberan para la recolección de basura.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-39827 changed 2026-05-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-qpw4-5x99-6vjp changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5016 changed 2026-11-23CC-BY-4.0
NVDCVE-2026-39827 changed 2026-07-23Public domain