CVE-2026-39827

GHSA-qpw4-5x99-6vjp · GO-2026-5016 · published 22 May 2026 · updated 14 Nov 2026

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

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.52.0 and golang.org/x/crypto 0.52.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
golang.org/x/crypto<0.52.00.52.0
go: golang.org/x/crypto<0.52.00.52.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in golang.org/x/crypto (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-39827 severity on Zeptric[![CVE-2026-39827](https://zeptric.io/badge/cve/CVE-2026-39827.svg)](https://zeptric.io/cve/CVE-2026-39827)