CVE-2026-39827
MEDIUM 6.5CVSS 3.1golang.org/x/crypto: Invoking memory leak when rejecting channels can lead to DoS
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.
- Published
- 22 May 2026
- Last modified
- 23 Nov 2026
- Assigned by
- security@golang.org
- NVD status
- Analyzed
- Weakness
- CWE-924
- Also known as
- GHSA-qpw4-5x99-6vjpGO-2026-5016
- Sources
- NVDJSONOSV GHSA-qpw4-5x99-6vjpJSONOSV GO-2026-5016JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | cryptocpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:* |
< 0.52.0 | 0.52.0 |
| OSV | Go | golang.org/x/crypto | < 0.52.0 | 0.52.0 |
References
- https://go.dev/cl/781320 · Issue Tracking, WEB, FIX
- https://go.dev/issue/35127 · Issue Tracking, WEB, REPORT
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI · Mailing List, WEB
- https://pkg.go.dev/vuln/GO-2026-5016 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-39827 · ADVISORY
- https://cs.opensource.google/go/x/crypto · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)