medium

CVE-2026-39827

Go · golang.org/x/crypto/ssh • Go · golang.org/x/crypto

Summary

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

Severity
medium
CVSS
6.5
EPSS
0.3% (p20)
CWE
CWE-924
Also known as
GHSA-qpw4-5x99-6vjp, GO-2026-5016
Published
2026-06-25
Updated
2026-06-25

Advisory details

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.

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.