6.5Medium

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

golang.org/x/crypto golang.org/x/crypto/ssh Published: (5 months ago)

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.

Weakness (CWE): CWE-401CWE-924

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
golang crypto < 0.52.0
golang.org/x/crypto golang.org/x/crypto/ssh < 0.52.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:* < 0.52.0